|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cc.mallet.fst.Transducer.TransitionIterator
public abstract static class Transducer.TransitionIterator
An abstract class to iterate over the states of the transducer.
Constructor Summary | |
---|---|
Transducer.TransitionIterator()
|
Method Summary | |
---|---|
java.lang.String |
describeTransition(double cutoff)
|
abstract Transducer.State |
getDestinationState()
The state we are in after taking this transition. |
abstract int |
getIndex()
An implementation-specific index for this transition object, can be used to index into arrays of per-transition parameters. |
abstract java.lang.Object |
getInput()
The input symbol or object appearing on this transition. |
int |
getInputPositionIncrement()
The number of input positions that this transition consumes. |
abstract java.lang.Object |
getOutput()
The output symbol or object appearing on this transition. |
int |
getOutputPositionIncrement()
The number of output positions that this transition produces. |
abstract Transducer.State |
getSourceState()
The state we were in before taking this transition. |
Transducer |
getTransducer()
|
abstract double |
getWeight()
The weight (between infinity and -infinity) associated with taking this transition with this input/output. |
abstract boolean |
hasNext()
|
Transducer.State |
next()
|
abstract Transducer.State |
nextState()
Deprecated. |
int |
numberNext()
Deprecated. |
void |
remove()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Transducer.TransitionIterator()
Method Detail |
---|
public abstract boolean hasNext()
hasNext
in interface java.util.Iterator<Transducer.State>
@Deprecated public int numberNext()
@Deprecated public abstract Transducer.State nextState()
public Transducer.State next()
next
in interface java.util.Iterator<Transducer.State>
public void remove()
remove
in interface java.util.Iterator<Transducer.State>
public abstract int getIndex()
public abstract java.lang.Object getInput()
public abstract java.lang.Object getOutput()
public abstract double getWeight()
public abstract Transducer.State getSourceState()
public abstract Transducer.State getDestinationState()
public int getInputPositionIncrement()
public int getOutputPositionIncrement()
public Transducer getTransducer()
public java.lang.String describeTransition(double cutoff)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |