public class SmallCursor extends Object
| Constructor and Description |
|---|
SmallCursor(State[] states,
SymbolList symList,
Iterator symIterator) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public SmallCursor(State[] states, SymbolList symList, Iterator symIterator)
public SymbolList symList()
DPCursorpublic int length()
DPCursorThe length of the sequence.
The matrix may allocate length+1 columns.
public double[] currentCol()
DPCursorpublic Symbol currentRes()
DPCursorcurrentRes in interface DPCursorpublic boolean canAdvance()
DPCursorcanAdvance in interface DPCursorCopyright © 2014 BioJava. All rights reserved.