creates a new NFA with an alphabet, states, start states, transitions and accepting states.
creates a new NFA with an alphabet, states, start states, transitions and accepting states.
the alphabet of the NFA
a list of the states of the NFA
a list of states containing the initial states of the NFA
maps an actual states and an element of the alphabet onto a list with the next states
a list of states containing the accepting states of the NFA
Returns a new NFA being the binary kleene star of this and the given NFA.
Returns a new NFA being the binary kleene star of this and the given NFA.
Binary kleene of this and the given NFA means: The language defined by this NFA can be repeated zero or more times followed by the language of the given NFA.
the second NFA.
the NFA that is the kleene star of the two given NFAs.
Returns a new NFA being the concatenation of this NFA and the given NFA.
Returns a new NFA being the concatenation of this NFA and the given NFA.
the second NFA.
the NFA that is the concatenation of the two given NFAs.
a list of states containing the accepting states of the NFA
a finite word as a sequence of strings.
true if the NFA accepts the word, else false.
the alphabet of the NFA
true if the NFA contains a cycle other than loops at junk states, which are not accepting states without any outgoing edge except for the loop.
true if the NFA is a 2NFA else false.
Computes the number of transitions of the NFA.
Computes the number of transitions of the NFA.
the number of transitions.
a finite word as a sequence of strings.
true if the NFA rejects the word, else false.
Set the alphabet of the NFA to a given list of strings.
Set the alphabet of the NFA to a given list of strings.
the new alphabet.
a new NFA with the new alphabet.
a list of states containing the initial states of the NFA
a list of the states of the NFA
Returns a new NFA class where all used State instances appear in the states list.
Returns a new NFA class where all used State instances appear in the states list.
To achieve this goal the members start, transitions and accepting are scanned and every appearing State instance is tried to find in the states list by comparing the names. If it's not found, an exception is thrown.
Simultaneously for every symbol it is checked if the symbol is element of the alphabet. If it's not found an exception is thrown.
a new NFA with same states list but modified start, transactions and accepting member.
Creates a new NFA based on this NFA which is fully specified.
Creates a new NFA based on this NFA which is fully specified. This means on every state there is at least one transition for every element of the alphabet. A junk state is added of needed.
the complete NFA.
Converts the NFA into dot format.
Performs optimal minimization on one-way automaton using the Brzozowski algorithm.
Performs optimal minimization on one-way automaton using the Brzozowski algorithm.
the minimized and determinized NFA.
Performs optimal minimization on deterministic one-way automaton using Moore algorithm.
Performs optimal minimization on deterministic one-way automaton using Moore algorithm.
the minimized deterministic NFA.
Forces the usage of All instead of Text(a) for all a in alphabet.
Forces the usage of All instead of Text(a) for all a in alphabet. If a transitions exists for all elements a of the alphabet, then this transition is removed for all Text(a) and instead inserted using the special symbol All.
the adopted Nfa
Removes all epsilon transitions.
Performs all operations needed to integrate an NFA into an APW.
Performs all operations needed to integrate an NFA into an APW. At the moment this means to remove all epsilon transitions and transform the automaton into a completed one.
the prepared NFA.
Removes epsilon transitions and unreachable states.
Removes epsilon transitions and unreachable states.
a new NFA without epsilon transitions and unreachable states.
Computes an NFA accepting the reversed language by reversing all transitions and changing accepting and initial states.
Computes an NFA accepting the reversed language by reversing all transitions and changing accepting and initial states. Only works on completed one-way NFAs.
the reversed NFA
Converts the NFA into AFF format.
Converts the NFA into AFF format.
the NFA in AFF format.
maps an actual states and an element of the alphabet onto a list with the next states
true if the NFA is an epsilon-NFA else false.
Returns a new NFA being the union of this and the given NFA.
Returns a new NFA being the union of this and the given NFA.
the second NFA.
the NFA that is the union of the two given NFAs.
Represents (2)NFAs.
the alphabet of the NFA
a list of the states of the NFA
a list of states containing the initial states of the NFA
maps an actual states and an element of the alphabet onto a list with the next states
a list of states containing the accepting states of the NFA