ArXiv.org · 2008 · 25 citations · 4 references
ComputingComputer EngineeringComputer ScienceAlgorithmsData StructuresTheory Of ComputationAlgorithm AnalysisAutomata TheoryFinite AutomataFinite State Machine ModelingFinite-state MachinesAmortized Running TimeAutomata MinimizationDeterministic Finite AutomataDfa MinimizationFinite Automata TheoryFinite State Machine OptimizationMinimizationState Minimization
Let PT-DFA mean a deterministic finite automaton whose transition relation is a partial function. We present an algorithm for minimizing a PT-DFA in $O(m \lg n)$ time and $O(m+n+α)$ memory, where $n$ is the number of states, $m$ is the number of defined transitions, and $α$ is the size of the alphabet. Time consumption does not depend on $α$, because the $α$ term arises from an array that is accessed at random and never initialized. It is not needed, if transitions are in a suitable order in the input. The algorithm uses two instances of an array-based data structure for maintaining a refinable partition. Its operations are all amortized constant time. One instance represents the classical blocks and the other a partition of transitions. Our measurements demonstrate the speed advantage of our algorithm on PT-DFAs over an $O(αn \lg n)$ time, $O(αn)$ memory algorithm.
4
Three Partition Refinement Algorithms
Robert Paige, Robert E. Tarjan · SIAM Journal on Computing · 1987 · 1.2K citations
Describing an algorithm by Hopcroft
David Gries · Acta Informatica · 1973 · 98 citations
Re-describing an algorithm by Hopcroft
Timo Knuutila · Theoretical Computer Science · 2001 · 75 citations