Class | Description |
---|---|
Alphabet |
Representation of an alphabet.
|
FA |
Deterministic finite state automaton.
|
NFA |
Nondeterministic finite state automaton with
![]() |
RegExp |
Regular expression.
|
State |
An automaton state.
|
StateSymbolPair |
A pair of a state and an alphabet symbol.
|
Exception | Description |
---|---|
AutomatonNotWellDefinedException |
Exception caused by an automaton not being well-defined.
|
This package contains an implementation of the regular expression and automaton algorithms from [Martin] (John Martin, Introduction to Languages and the Theory of Computation, 4th edition, McGraw-Hill, 2010). The representation of automata is quite naive but closely reflects the mathematical definitions.
Copyright © 2003-2015 Anders Møller.