Uses of Class
dk.brics.automaton.State
-
-
Uses of State in dk.brics.automaton
Methods in dk.brics.automaton that return State Modifier and Type Method Description static StateStringUnionOperations. build(CharSequence[] input)Build a minimal, deterministic automaton from a sorted list of strings.StateTransition. getDest()Returns destination of this transition.StateStatePair. getFirstState()Returns first component of this pair.StateAutomaton. getInitialState()Gets initial state.StateStatePair. getSecondState()Returns second component of this pair.StateState. step(char c)Performs lookup in transitions, assuming determinism.Methods in dk.brics.automaton that return types with arguments of type State Modifier and Type Method Description Set<State>Automaton. getAcceptStates()Returns the set of reachable accept states.Set<State>Automaton. getLiveStates()Returns the set of live states.Set<State>Automaton. getStates()Returns the set of states that are reachable from the initial state.static Set<State>SpecialOperations. reverse(Automaton a)Reverses the language of the given (non-singleton) automaton while returning the set of new initial states.Methods in dk.brics.automaton with parameters of type State Modifier and Type Method Description intState. compareTo(State s)Compares this object with the specified object for order.voidAutomaton. setInitialState(State s)Sets initial state.Method parameters in dk.brics.automaton with type arguments of type State Modifier and Type Method Description voidState. step(char c, Collection<State> dest)Performs lookup in transitions, allowing nondeterminism.Constructors in dk.brics.automaton with parameters of type State Constructor Description StatePair(State s1, State s2)Constructs a new state pair.Transition(char min, char max, State to)Constructs a new transition.Transition(char c, State to)Constructs a new singleton interval transition.
-