Overview
Hopcroft's algorithm starts with accepting and nonaccepting state partitions, then refines them using transition behavior. States that remain in the same block are equivalent and can be merged.
Minimizes a DFA by repeatedly splitting state partitions with distinguishing transitions.
Compact metadata for implementation and discovery.
Hopcroft's algorithm starts with accepting and nonaccepting state partitions, then refines them using transition behavior. States that remain in the same block are equivalent and can be merged.
Quick facts
Runtime and memory behavior at a glance.
Best
O(n)
Average
O(n log n)
Worst
O(n^2)
Space
O(n)
Show refining state partitions with the smallest distinguishing splitters on a small finite-state machine minimization example.
Hopcroft's algorithm minimizes deterministic finite automata; NFA inputs need conversion or another method.
What each reference supports for this entry.
Automata textbook support for Hopcroft DFA Minimization's state-machine construction, language recognition, and correctness model.
Specific reference for Hopcroft's partition-refinement DFA minimization algorithm and its n log n analysis.
Open sourceGood next jumps from the relationship graph, ranked for useful discovery.
Hopcroft's algorithm is an efficient DFA minimization method.
DFA construction may be followed by minimization to reduce state count.