Package org.biojava.bio.dp.onehead
Class SingleDPMatrix
- java.lang.Object
- 
- org.biojava.bio.dp.onehead.SingleDPMatrix
 
- 
- All Implemented Interfaces:
- Serializable,- DPMatrix
 
 public class SingleDPMatrix extends Object implements DPMatrix, Serializable The dynamic programming matrix for a single sequence.- Author:
- Matthew Pocock, Lukas Kall
- See Also:
- Serialized Form
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected MarkovModelmodelprotected doublescoredouble[][]scoresprotected State[]statesprotected SymbolList[]symList
 - 
Constructor SummaryConstructors Constructor Description SingleDPMatrix(DP dp, SymbolList symList)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetCell(int[] index)doublegetScore()MarkovModelmodel()voidsetScore(double score)State[]states()SymbolList[]symList()
 
- 
- 
- 
Field Detail- 
modelprotected final MarkovModel model 
 - 
symListprotected final SymbolList[] symList 
 - 
scorespublic final double[][] scores 
 - 
scoreprotected double score 
 
- 
 - 
Constructor Detail- 
SingleDPMatrixpublic SingleDPMatrix(DP dp, SymbolList symList) 
 
- 
 - 
Method Detail- 
modelpublic MarkovModel model() 
 - 
symListpublic SymbolList[] symList() 
 - 
setScorepublic void setScore(double score) 
 - 
getCellpublic double getCell(int[] index) throws IndexOutOfBoundsException - Specified by:
- getCellin interface- DPMatrix
- Throws:
- IndexOutOfBoundsException
 
 
- 
 
-