edu.stanford.nlp.fsm
Class DFSATransition

java.lang.Object
  |
  +--edu.stanford.nlp.fsm.DFSATransition
All Implemented Interfaces:
Scored

public final class DFSATransition
extends Object
implements Scored

(D)FSA Transition Class for representing a transition in a weighted finite state transducer. For now, just null out fields that may not apply. This should really be FSATransition as there's nothing deterministic-specific. If FSA is ever made, this should be abstracted. The ID is a descriptor, not a unique ID.


Field Summary
protected  DFSAState target
           
 
Constructor Summary
DFSATransition(Object transitionID, DFSAState source, DFSAState target, Object input, Object output, double score)
           
 
Method Summary
 Object getID()
           
 Object getInput()
           
 Object getOutput()
           
 DFSAState getSource()
           
 DFSAState getTarget()
           
 Object input()
           
 Object output()
           
 double score()
          Return the score of this thing
 DFSAState source()
           
 DFSAState target()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

target

protected DFSAState target
Constructor Detail

DFSATransition

public DFSATransition(Object transitionID,
                      DFSAState source,
                      DFSAState target,
                      Object input,
                      Object output,
                      double score)
Method Detail

getSource

public DFSAState getSource()

source

public DFSAState source()

getTarget

public DFSAState getTarget()

target

public DFSAState target()

getID

public Object getID()

score

public double score()
Description copied from interface: Scored
Return the score of this thing

Specified by:
score in interface Scored

getInput

public Object getInput()

input

public Object input()

getOutput

public Object getOutput()

output

public Object output()

toString

public String toString()
Overrides:
toString in class Object


Stanford NLP Group