Class DFA
java.lang.Object
org.eu.autogex.core.AbstractAutomaton
org.eu.autogex.models.DFA
- All Implemented Interfaces:
Automaton
Deterministic Finite Automaton (DFA).
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder pattern to construct the DFA fluently. -
Method Summary
Modifier and TypeMethodDescriptionProcesses the input string and returns a detailed execution trace.Retrieves the internal transition table of the DFA.Methods inherited from class AbstractAutomaton
getFinalStates, getInitialState, getStates
-
Method Details
-
execute
Description copied from interface:AutomatonProcesses the input string and returns a detailed execution trace.- Parameters:
input- The string to be evaluated.- Returns:
- An ExecutionTrace detailing the entire state traversal.
-
getTransitionTable
-