public class NearestNeighborMode extends java.lang.Object implements MeltingComputationMethod
| Constructor and Description |
|---|
NearestNeighborMode() |
| Modifier and Type | Method and Description |
|---|---|
static double |
computesHairpinTemperature(Environment environment)
computes the melting temperature of a hairpin loop (when there is more than 4 CNG repeats in a sequence)
|
static double |
computesMeltingTemperature(Environment environment)
computes the melting temperature for for the Environment 'environment'.
|
ThermoResult |
computesThermodynamics()
This method is called to compute the melting temperature.
|
RegisterMethods |
getRegister()
This method is called to get the RegisterMethod of the implemented class.
|
boolean |
isApplicable()
This method is called to check that the options entered by the users are applicable with the used model (class).
|
void |
setUpVariables(java.util.HashMap<java.lang.String,java.lang.String> options)
Creates the Environment object and set up the variables of the chosen model.
|
public ThermoResult computesThermodynamics()
MeltingComputationMethodcomputesThermodynamics in interface MeltingComputationMethodpublic boolean isApplicable()
MeltingComputationMethodisApplicable in interface MeltingComputationMethodpublic void setUpVariables(java.util.HashMap<java.lang.String,java.lang.String> options)
MeltingComputationMethodsetUpVariables in interface MeltingComputationMethodoptions - containing all the options (default options and options entered by the user)public RegisterMethods getRegister()
MeltingComputationMethodgetRegister in interface MeltingComputationMethodpublic static double computesHairpinTemperature(Environment environment)
environment - public static double computesMeltingTemperature(Environment environment)
environment -