cz.cuni.amis.fsm
Interface IFSM<SYMBOL,CONTEXT>

Package class diagram package IFSM
Type Parameters:
SYMBOL -
CONTEXT -
All Known Implementing Classes:
FSM, FSMNested

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

Author:
Jimmy

Method Summary
 boolean isTerminal()
           
 void push(CONTEXT context, SYMBOL symbol)
           
 void restart(CONTEXT context)
           
 

Method Detail

push

void push(CONTEXT context,
          SYMBOL symbol)

restart

void restart(CONTEXT context)

isTerminal

boolean isTerminal()


Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.