Package org.biojava.bio.dp
Class ScoreType.Probability
java.lang.Object
org.biojava.bio.dp.ScoreType.Probability
- All Implemented Interfaces:
Serializable,ScoreType
- Enclosing interface:
- ScoreType
In this class, calculateScore returns the probability
of a Symbol being emitted.
- Author:
- Matthew Pocock
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.biojava.bio.dp.ScoreType
ScoreType.NullModel, ScoreType.Odds, ScoreType.Probability -
Field Summary
Fields inherited from interface org.biojava.bio.dp.ScoreType
NULL_MODEL, ODDS, PROBABILITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublecalculateScore(Distribution dist, Symbol sym) Calculates the score associated with a distribution and a symbol.
-
Constructor Details
-
Probability
public Probability()
-
-
Method Details
-
calculateScore
Description copied from interface:ScoreTypeCalculates the score associated with a distribution and a symbol.- Specified by:
calculateScorein interfaceScoreType- Throws:
IllegalSymbolException
-