001
002
003
004package org.biojava.utils.automata;
005
006
007public interface StateMachineInstance
008{
009    /**
010     * invoke transition from current state indicated by Symbol represented by symbol index.
011     * @param symIdx alphabet index of the symbol encountered.
012     * @return true if the symbol is valid and this state machine
013     *         should continue to receive input.
014     */
015    public boolean transit(int symIdx);
016    public StateMachineFactory parent();
017    public int getStart();
018}
019