public interface State
AbstractHMM| Modifier and Type | Method and Description |
|---|---|
String |
getGraphvizNodeOptions(double weight,
double maxWeight,
NumberFormat nf)
This method returns a
String representation of the node options that
can be used in Graphviz to create the node for this state. |
double |
getLogScoreFor(int startPos,
int endPos,
Sequence seq)
This method returns the logarithm of the score for a given sequence with given start and end position.
|
boolean |
isSilent()
This method returns whether a state is silent or not.
|
String |
toString(NumberFormat nf)
This method returns a
String representation of the instance. |
double getLogScoreFor(int startPos,
int endPos,
Sequence seq)
throws WrongLengthException,
OperationNotSupportedException
startPos - the start position within the sequence(s)endPos - the end position within the sequence(s)seq - the sequence(s)WrongLengthException - if the length can not be modeledOperationNotSupportedException - if the reverse complement of the sequence can not be computedString getGraphvizNodeOptions(double weight, double maxWeight, NumberFormat nf)
String representation of the node options that
can be used in Graphviz to create the node for this state.weight - for statemaxWeight - the maximal weight for the statenf - the NumberFormat for the output, can be nullString representation of the stateboolean isSilent()
true if the state is silent, otherwise falseSilentEmissionString toString(NumberFormat nf)
String representation of the instance.nf - the NumberFormat for the String representation of parameters or probabilitiesString representation of the instance