edu.umass.cs.mallet.base.fst
Class CRFByGISUpdate.TransitionIterator

java.lang.Object
  extended byedu.umass.cs.mallet.base.fst.Transducer.TransitionIterator
      extended byedu.umass.cs.mallet.base.fst.CRFByGISUpdate.TransitionIterator
All Implemented Interfaces:
java.util.Iterator, java.io.Serializable
Enclosing class:
CRFByGISUpdate

protected static class CRFByGISUpdate.TransitionIterator
extends Transducer.TransitionIterator
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
CRFByGISUpdate.TransitionIterator(CRFByGISUpdate.State source, FeatureVectorSequence inputSeq, int inputPosition, java.lang.String output, CRFByGISUpdate crf)
           
 
Method Summary
 double getCost()
           
 Transducer.State getDestinationState()
           
 java.lang.Object getInput()
           
 java.lang.Object getOutput()
           
 Transducer.State getSourceState()
           
 boolean hasNext()
           
 void incrementCount(double count)
           
 Transducer.State nextState()
           
 
Methods inherited from class edu.umass.cs.mallet.base.fst.Transducer.TransitionIterator
describeTransition, getInputPositionIncrement, getOutputPositionIncrement, next, numberNext, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CRFByGISUpdate.TransitionIterator

public CRFByGISUpdate.TransitionIterator(CRFByGISUpdate.State source,
                                         FeatureVectorSequence inputSeq,
                                         int inputPosition,
                                         java.lang.String output,
                                         CRFByGISUpdate crf)
Method Detail

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