| Package | Description |
|---|---|
| uniol.apt.adt.automaton |
| Modifier and Type | Method and Description |
|---|---|
static DeterministicFiniteAutomaton |
FiniteAutomatonUtility.constructDFA(FiniteAutomaton a)
Construct a deterministic finite automaton from a general finite automaton via the powerset construction.
|
static DeterministicFiniteAutomaton |
FiniteAutomatonUtility.intersection(DeterministicFiniteAutomaton a1,
DeterministicFiniteAutomaton a2)
Get a finite automaton accepting the intersection of the languages of two automatons.
|
static DeterministicFiniteAutomaton |
FiniteAutomatonUtility.minimize(FiniteAutomaton a)
Get the unique deterministic automaton with the minimal number of states that accepts the same language as
the given automaton.
|
static DeterministicFiniteAutomaton |
FiniteAutomatonUtility.negate(DeterministicFiniteAutomaton a)
Get a finite automaton accepting the negation of the language of the given automaton.
|
static DeterministicFiniteAutomaton |
FiniteAutomatonUtility.negate(DeterministicFiniteAutomaton a,
java.util.Set<Symbol> alphabet)
Get a finite automaton accepting the negation of the language of the given automaton.
|
static DeterministicFiniteAutomaton |
FiniteAutomatonUtility.negate(FiniteAutomaton a,
java.util.Set<Symbol> alphabet)
Get a finite automaton accepting the negation of the language of the given automaton.
|
static DeterministicFiniteAutomaton |
FiniteAutomatonUtility.optional(DeterministicFiniteAutomaton a)
Get a finite automaton accepting a word accepted by the given automaton or the empty word.
|
static DeterministicFiniteAutomaton |
FiniteAutomatonUtility.prefixClosure(FiniteAutomaton a)
Get a finite automaton accepting the prefix closure of the language of the given automaton.
|
static DeterministicFiniteAutomaton |
FiniteAutomatonUtility.union(DeterministicFiniteAutomaton a1,
DeterministicFiniteAutomaton a2)
Get a finite automaton accepting the union of the languages of two automatons.
|
| Modifier and Type | Method and Description |
|---|---|
static DeterministicFiniteAutomaton |
FiniteAutomatonUtility.intersection(DeterministicFiniteAutomaton a1,
DeterministicFiniteAutomaton a2)
Get a finite automaton accepting the intersection of the languages of two automatons.
|
static DeterministicFiniteAutomaton |
FiniteAutomatonUtility.negate(DeterministicFiniteAutomaton a)
Get a finite automaton accepting the negation of the language of the given automaton.
|
static DeterministicFiniteAutomaton |
FiniteAutomatonUtility.negate(DeterministicFiniteAutomaton a,
java.util.Set<Symbol> alphabet)
Get a finite automaton accepting the negation of the language of the given automaton.
|
static DeterministicFiniteAutomaton |
FiniteAutomatonUtility.optional(DeterministicFiniteAutomaton a)
Get a finite automaton accepting a word accepted by the given automaton or the empty word.
|
static java.lang.Iterable<DFAState> |
FiniteAutomatonUtility.statesIterable(DeterministicFiniteAutomaton a)
Get an Iterable iterating over all of the automaton's states.
|
static DeterministicFiniteAutomaton |
FiniteAutomatonUtility.union(DeterministicFiniteAutomaton a1,
DeterministicFiniteAutomaton a2)
Get a finite automaton accepting the union of the languages of two automatons.
|