Package org.biojava.bio.dp.twohead
Class DPInterpreter
java.lang.Object
org.biojava.bio.dp.twohead.DPInterpreter
- All Implemented Interfaces:
Serializable
,CellCalculatorFactory
- Author:
- Matthew Pocock, Thomas Down
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DPInterpreter
-
-
Method Details
-
forwards
public CellCalculator forwards(ScoreType scoreType) throws IllegalSymbolException, IllegalAlphabetException, IllegalTransitionException - Specified by:
forwards
in interfaceCellCalculatorFactory
- Throws:
IllegalSymbolException
IllegalAlphabetException
IllegalTransitionException
-
backwards
public CellCalculator backwards(ScoreType scoreType) throws IllegalSymbolException, IllegalAlphabetException, IllegalTransitionException - Specified by:
backwards
in interfaceCellCalculatorFactory
- Throws:
IllegalSymbolException
IllegalAlphabetException
IllegalTransitionException
-
viterbi
public CellCalculator viterbi(ScoreType scoreType, BackPointer terminal) throws IllegalSymbolException, IllegalAlphabetException, IllegalTransitionException - Specified by:
viterbi
in interfaceCellCalculatorFactory
- Throws:
IllegalSymbolException
IllegalAlphabetException
IllegalTransitionException
-