Class ENFA
java.lang.Object
it.tugamer89.autogex.core.AbstractAutomaton
it.tugamer89.autogex.models.ENFA
- All Implemented Interfaces:
Automaton
Non-Deterministic Finite Automaton with Epsilon Transitions (ε-NFA).
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder pattern to construct the ENFA fluently. -
Method Summary
Modifier and TypeMethodDescriptionepsilonClosure(Set<State> startStates) Computes the ε-closure of a set of states.Processes the input string and returns a detailed execution trace.Retrieves the internal transition table of the ENFA.Methods inherited from class AbstractAutomaton
getFinalStates, getInitialState, getStates
-
Method Details
-
epsilonClosure
-
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
-