Package ca.phon.fsa
Class SimpleFSADebugContext<T>
java.lang.Object
ca.phon.fsa.SimpleFSADebugContext<T>
Class for executing a SimleFSA in a step-by-step
manner for the purpose of debugging.
-
Field Details
-
fsa
-
-
Constructor Details
-
SimpleFSADebugContext
-
-
Method Details
-
getFSA
-
getMachineState
-
getTransitions
-
getCachedState
-
getCachedTransitions
-
getDecisionStack
-
reset
-
canStep
public boolean canStep() -
step
Step and return the transition followed- Returns:
- the state followed or
null
if no matching transition found
-
reset
public void reset()Reset execution state
-