Class AbstractAutomaton
java.lang.Object
org.eu.autogex.core.AbstractAutomaton
- All Implemented Interfaces:
Automaton
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves all the accepting (final) states of the automaton.Retrieves the starting state of the automaton.Retrieves all the states within the automaton.
-
Method Details
-
getStates
-
getInitialState
Description copied from interface:AutomatonRetrieves the starting state of the automaton.- Specified by:
getInitialStatein interfaceAutomaton- Returns:
- The initial state.
-
getFinalStates
Description copied from interface:AutomatonRetrieves all the accepting (final) states of the automaton.- Specified by:
getFinalStatesin interfaceAutomaton- Returns:
- A set containing all final states.
-