Uses of Class
util.State

Packages that use State
Package
Description
 
  • Uses of State in util

    Methods in util that return State
    Modifier and Type
    Method
    Description
    TransitionTable.delta(State q, String a)
    Evaluates the delta function delta(q, a), where 'q' is the current state and 'a' is the action
    Gives the current state of the FSM.
    TransitionTable.getFinalStates()
    Returns an array containing the final states for this FSM.
    TransitionTable.getInitialState()
    Gets the initial state of this transition table.
    Methods in util with parameters of type State
    Modifier and Type
    Method
    Description
    boolean
    TransitionTable.contains(State s)
    Checks if the specified state is defined for this FSM
    TransitionTable.delta(State q, String a)
    Evaluates the delta function delta(q, a), where 'q' is the current state and 'a' is the action
    Constructors in util with parameters of type State
    Modifier
    Constructor
    Description
     
    FSM(State[] states, String[] actions, State[][] transitions)
    Constructor for the FSM takes an array of states, actions, and the transition table.
     
    TransitionTable(State[] states, String[] actions, State[][] transitions)
    Each entry of this associative array is an associative array indexed by actions.