edu.umass.cs.mallet.base.fst
Class HMM.TransitionIterator
java.lang.Object
edu.umass.cs.mallet.base.fst.Transducer.TransitionIterator
edu.umass.cs.mallet.base.fst.HMM.TransitionIterator
- All Implemented Interfaces:
- java.util.Iterator, java.io.Serializable
- Enclosing class:
- HMM
- protected static class HMM.TransitionIterator
- extends Transducer.TransitionIterator
- implements java.io.Serializable
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HMM.TransitionIterator
public HMM.TransitionIterator(HMM.State source,
FeatureSequence inputSeq,
int inputPosition,
java.lang.String output,
HMM hmm)
hasNext
public boolean hasNext()
- Specified by:
hasNext in interface java.util.Iterator- Specified by:
hasNext in class Transducer.TransitionIterator
nextState
public Transducer.State nextState()
- Specified by:
nextState in class Transducer.TransitionIterator
getInput
public java.lang.Object getInput()
- Specified by:
getInput in class Transducer.TransitionIterator
getOutput
public java.lang.Object getOutput()
- Specified by:
getOutput in class Transducer.TransitionIterator
getCost
public double getCost()
- Specified by:
getCost in class Transducer.TransitionIterator
getSourceState
public Transducer.State getSourceState()
- Specified by:
getSourceState in class Transducer.TransitionIterator
getDestinationState
public Transducer.State getDestinationState()
- Specified by:
getDestinationState in class Transducer.TransitionIterator
incrementCount
public void incrementCount(double count)
- Overrides:
incrementCount in class Transducer.TransitionIterator