cc.mallet.fst
Class Transducer.State

java.lang.Object
  extended by cc.mallet.fst.Transducer.State
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
CRF.State, FeatureTransducer.State, HMM.State
Enclosing class:
Transducer

public abstract static class Transducer.State
extends java.lang.Object
implements java.io.Serializable

An abstract class used to represent the states of the transducer.

See Also:
Serialized Form

Constructor Summary
Transducer.State()
           
 
Method Summary
abstract  double getFinalWeight()
           
abstract  int getIndex()
           
abstract  double getInitialWeight()
           
abstract  java.lang.String getName()
           
abstract  Transducer getTransducer()
           
abstract  void setFinalWeight(double c)
           
abstract  void setInitialWeight(double c)
           
 Transducer.TransitionIterator transitionIterator()
           
 Transducer.TransitionIterator transitionIterator(Sequence input, int inputPosition)
           
abstract  Transducer.TransitionIterator transitionIterator(Sequence input, int inputPosition, Sequence output, int outputPosition)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Transducer.State

public Transducer.State()
Method Detail

getName

public abstract java.lang.String getName()

getIndex

public abstract int getIndex()

getInitialWeight

public abstract double getInitialWeight()

setInitialWeight

public abstract void setInitialWeight(double c)

getFinalWeight

public abstract double getFinalWeight()

setFinalWeight

public abstract void setFinalWeight(double c)

getTransducer

public abstract Transducer getTransducer()

transitionIterator

public abstract Transducer.TransitionIterator transitionIterator(Sequence input,
                                                                 int inputPosition,
                                                                 Sequence output,
                                                                 int outputPosition)

transitionIterator

public Transducer.TransitionIterator transitionIterator(Sequence input,
                                                        int inputPosition)

transitionIterator

public Transducer.TransitionIterator transitionIterator()