Efficient Deterministic Finite Automata Minimization Based on Backward Depth Information

PLoS One. 2016 Nov 2;11(11):e0165864. doi: 10.1371/journal.pone.0165864. eCollection 2016.

Abstract

Obtaining a minimal automaton is a fundamental issue in the theory and practical implementation of deterministic finite automatons (DFAs). A minimization algorithm is presented in this paper that consists of two main phases. In the first phase, the backward depth information is built, and the state set of the DFA is partitioned into many blocks. In the second phase, the state set is refined using a hash table. The minimization algorithm has a lower time complexity O(n) than a naive comparison of transitions O(n2). Few states need to be refined by the hash table, because most states have been partitioned by the backward depth information in the coarse partition. This method achieves greater generality than previous methods because building the backward depth information is independent of the topological complexity of the DFA. The proposed algorithm can be applied not only to the minimization of acyclic automata or simple cyclic automata, but also to automata with high topological complexity. Overall, the proposal has three advantages: lower time complexity, greater generality, and scalability. A comparison to Hopcroft's algorithm demonstrates experimentally that the algorithm runs faster than traditional algorithms.

MeSH terms

  • Algorithms
  • Automation
  • Computational Biology / methods*
  • Finite Element Analysis

Grants and funding

The author(s) received no specific funding for this work.