|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
SYMBOL
- CONTEXT
- public interface IFSM<SYMBOL,CONTEXT>
Interface for the FSM. Contains three methods:
push() ... to insert next symbol to the FSM.
restart() ... to restart the fsm (calls restart() on all states and transitions) and set itself to the initial state
isTerminal() ... query the fsm whether it is in the terminal state
Method Summary | |
---|---|
boolean |
isTerminal()
|
void |
push(CONTEXT context,
SYMBOL symbol)
|
void |
restart(CONTEXT context)
|
Method Detail |
---|
void push(CONTEXT context, SYMBOL symbol)
void restart(CONTEXT context)
boolean isTerminal()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |