org.biojava.bio.dp
Class ScoreType.Probability
java.lang.Object
org.biojava.bio.dp.ScoreType.Probability
- All Implemented Interfaces:
- Serializable, ScoreType
- Enclosing interface:
- ScoreType
public static class ScoreType.Probability
- extends Object
- implements ScoreType, Serializable
In this class, calculateScore returns the probability
of a Symbol being emitted.
- Author:
- Matthew Pocock
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScoreType.Probability
public ScoreType.Probability()
calculateScore
public double calculateScore(Distribution dist,
Symbol sym)
throws IllegalSymbolException
- Description copied from interface:
ScoreType
- Calculates the score associated with a distribution and a symbol.
- Specified by:
calculateScore
in interface ScoreType
- Throws:
IllegalSymbolException