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()
DPCursor
public int length()
DPCursor
The length of the sequence.
The matrix may allocate length+1 columns.
public double[] currentCol()
DPCursor
public Symbol currentRes()
DPCursor
currentRes
in interface DPCursor
public boolean canAdvance()
DPCursor
canAdvance
in interface DPCursor
Copyright © 2014 BioJava. All rights reserved.