If it is possible, you directly can create a new class which extends the InosineNNMethod class
(melting.patternModels.wobble).
The InosineNNMethod class already implements the following public functions of the PatternComputationMethod interface.:
ThermoResult computeThermodynamics(NucleotidSequences sequences,int pos1, int pos2, ThermoResult result),
and isMissingParameters(NucleotidSequences sequences, int pos1, int pos2).
An InosineNNMethod can compute the enthalpy and entropy of a Crick's pair containing an inosine base by adding
the thermodynamic parameters for each Crick's pair containing an inosine base.
The implemented function isMissingParameters(NucleotidSequences sequences, int pos1, int pos2)
can determine if a thermodynamic parameter for one of the Crick's pair containing an inosine base is missing.
Finally, the implemented function int[] correctPositions(int pos1, int pos2, int duplexLength) is necessary
to take into account the adjacent base pairs of the base pair containing the inosine.