|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DPCursor
Encapsulates the dynamic programmming matrix, and the context within algorithms work. The cursor should put DP.MAGICAL_SYMBOL symbols at either end of the sequence.
Method Summary | |
---|---|
void |
advance()
Advance. |
boolean |
canAdvance()
Can we advance? |
double[] |
currentCol()
The current column of the matrix. |
Symbol |
currentRes()
The current symbol. |
double[] |
lastCol()
The previous column. |
Symbol |
lastRes()
The previous symbol. |
int |
length()
The length of the sequence. |
SymbolList |
symList()
The symbol list being looped over. |
Method Detail |
---|
SymbolList symList()
int length()
The length of the sequence.
The matrix may allocate length+1 columns.
double[] currentCol()
double[] lastCol()
Symbol currentRes()
Symbol lastRes()
boolean canAdvance()
void advance()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |