Interface IFAState

  • All Known Implementing Classes:
    DFAState

    public interface IFAState
    This interface defines the behaviour of a FA(Finite Automation)'s states.
    • Method Detail

      • isInitial

        boolean isInitial()
        Returns:
        whether this state is the initial state of the belonged FA
      • isFinal

        boolean isFinal()
        Returns:
        whether this state is one of the final state of the belonged FA
      • getIndex

        int getIndex()
        Returns:
        the index of this state, used for uniquely identifying states in FA