Package org.biojava.bio.dp
Interface ScoreType
- All Known Implementing Classes:
ScoreType.NullModel
,ScoreType.Odds
,ScoreType.Probability
public interface ScoreType
This class computes the score that is used to be used
in a DP optimisation.
- Author:
- Matthew Pocock
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
In this class, calculateScore returns the probability of a Symbol being emitted by the null model.static class
In this class, calculateScore returns the odds ratio of a symbol being emitted.static class
In this class, calculateScore returns the probability of a Symbol being emitted. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondouble
calculateScore
(Distribution dist, Symbol sym) Calculates the score associated with a distribution and a symbol.
-
Field Details
-
PROBABILITY
-
ODDS
-
NULL_MODEL
-
-
Method Details
-
calculateScore
Calculates the score associated with a distribution and a symbol.- Throws:
IllegalSymbolException
-