Skip to main content

On the Complexity of Hopcroft’s State Minimization Algorithm

  • Conference paper
Implementation and Application of Automata (CIAA 2004)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 3317))

Included in the following conference series:

Abstract

Hopcroft’s algorithm for minimizing a deterministic automaton has complexity O(n log n). We show that this complexity bound is tight. More precisely, we provide a family of automata of size n = 2k on which the algorithm runs in time k2k. These automata have a very simple structure and are built over a one-letter alphabet. Their sets of final states are defined by de Bruijn words.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Hopcroft, J.E., Ullman, J.D.: Formal Languages and their Relation to Automata. Addison-Wesley, Reading (1969)

    MATH  Google Scholar 

  2. Hopcroft, J.E.: An n log n algorithm for minimizing states in a finite automaton. In: Kohavi, Z., Paz, A. (eds.) Theory of Machines and Computations, pp. 189–196. Academic Press, London (1971)

    Google Scholar 

  3. Krivol, S.L.: Algorithms for minimization of finite acyclic automata and pattern matching in terms. Cybernetics 27, 324–331 (1991); Translated from Kibernetika 3, 11–16 (May-June 1991)

    Article  MathSciNet  Google Scholar 

  4. Revuz, D.: Minimisation of acyclic deterministic automata in linear time. Theoret. Comput. Sci. 92, 181–189 (1992)

    Article  MATH  MathSciNet  Google Scholar 

  5. Daciuk, J.: Comparison of construction algorithms for minimal, acyclic, deterministic finite-state automata from sets of strings. In: Champarnaud, J.-M., Maurel, D. (eds.) CIAA 2002. LNCS, vol. 2608, pp. 255–261. Springer, Heidelberg (2003)

    Chapter  Google Scholar 

  6. Cardon, A., Crochemore, M.: Partitioning a graph in O(|A| log2 |V |). Theoret. Comput. Sci. 19, 85–98 (1982)

    Article  MATH  MathSciNet  Google Scholar 

  7. Paige, R., Tarjan, R.E., Bonic, R.: A linear time solution for the single function coarsest partition problem. Theoret. Comput. Sci. 40, 67–84 (1985)

    Article  MATH  MathSciNet  Google Scholar 

  8. Paige, R., Tarjan, R.E.: Three partition refinement algorithms. SIAM J. Comput. 18, 973–989 (1987)

    Article  MathSciNet  Google Scholar 

  9. Gai, A.T.: Algorithmes de partionnement : minimisation d’automates et applications aux graphes. Mémoire de DEA, Université Montpellier II (2003)

    Google Scholar 

  10. Gries, D.: Describing an algorithm by Hopcroft. Acta Inform. 2, 97–109 (1973)

    Article  MATH  MathSciNet  Google Scholar 

  11. Aho, A., Hopcroft, J., Ullman, J.: The Design and Analysis of Computer Algorithms. Addison-Wesley, Reading (1974)

    MATH  Google Scholar 

  12. Beauquier, D., Berstel, J., Chrétienne, P.: Éléments d’algorithmique. Masson (1992)

    Google Scholar 

  13. Blum, N.: A O(n log n) implementation of the standard method for minimizing n-state finite automata. Inform. Proc. Letters 57, 65–69 (1996)

    Article  MATH  Google Scholar 

  14. Knuutila, T.: Re-describing an algorithm by Hopcroft. Theoret. Comput. Sci. 250, 333–363 (2001)

    Article  MATH  MathSciNet  Google Scholar 

  15. Tutte, W.T.: Graph Theory. Encyclopedia of Mathematics and its Applications, vol. 21. Addison-Wesley, Reading (1984)

    MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2005 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Berstel, J., Carton, O. (2005). On the Complexity of Hopcroft’s State Minimization Algorithm. In: Domaratzki, M., Okhotin, A., Salomaa, K., Yu, S. (eds) Implementation and Application of Automata. CIAA 2004. Lecture Notes in Computer Science, vol 3317. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-30500-2_4

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-30500-2_4

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-24318-2

  • Online ISBN: 978-3-540-30500-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics