Determinization and complementation of NFAs.
dfa * dfa_hopcroft(dfa *)
Hopcroft's minimization algorithm.
Definition nfa_minimization.c:209
dfa * dfa_brzozowski(dfa *)
Brzozowski's minimization algorithm (fo rinput DFAs)
Definition nfa_minimization.c:69
hopcroft_partition * dfa_hopcroft_initial(uint, uint *, uint)
Computes the initial partition of the states in Hopcroft's algorithm. The set of final states is assu...
Definition nfa_minimization.c:91
void dfa_hopcroft_free(hopcroft_partition *)
Release of a Hopcroft's partition.
Definition nfa_minimization.c:183
dfa * dfa_hopcroft_genauto(dfa *, hopcroft_partition *)
Computation of the minimal automaton from the partition computed by the Hopcroft's algorithm.
Definition nfa_minimization.c:138
dfa * nfa_brzozowski(nfa *)
Brzozowski's minimization algorithm (for input NFAs)
Definition nfa_minimization.c:60
void dfa_mini_canonical_ordering(dfa *)
Computes the canonical ordering of the states of a minimal DFA.
Definition nfa_minimization.c:406
dfa * dfa_mini_canonical_copy(dfa *)
Makes a copy of a minimal DFA. The ordering between the states is changed to make the copy canonical.
Definition nfa_minimization.c:7
Type used to represent a complete DFA.
Definition nfa.h:61
Type used to represent the state partition used in the Hopcroft algorithm.
Definition nfa_minimization.h:76
uint size_set
The size of the partitioned set.
Definition nfa_minimization.h:77
uint * parray_i
Inverse of the previous array: each element in the set is mapped to each index in parray.
Definition nfa_minimization.h:81
uint * rindex
Array indexed by the classes: each class is mapped to the index following this class in parray.
Definition nfa_minimization.h:82
uint size_par
The size of the partition.
Definition nfa_minimization.h:78
uint * classes
Array of classes: maps each element to its class.
Definition nfa_minimization.h:79
uint * parray
Array containing all elements of the set grouped by classes (elements belonging to the same class are...
Definition nfa_minimization.h:80
uint * lindex
Array indexed by the classes: each class is mapped to the index at which this class starts in parray.
Definition nfa_minimization.h:83
Type used to represent a NFA.
Definition nfa.h:43