Continuant polynomials and worst-case behavior of Hopcroft's minimization algorithm

  • Authors:
  • Jean Berstel;Luc Boasson;Olivier Carton

  • Affiliations:
  • IGM, Université Paris-Est Marne-la-Vallée, France;Liafa, Université Denis Diderot, France;Liafa, Université Denis Diderot, France

  • Venue:
  • Theoretical Computer Science
  • Year:
  • 2009

Quantified Score

Hi-index 5.23

Visualization

Abstract

This paper is concerned with the analysis of the worst case behavior of Hopcroft's algorithm for minimizing deterministic finite state automata. We extend a result of Castiglione, Restivo and Sciortino. They show that Hopcroft's algorithm has a worst case behavior for the automata recognizing Fibonacci words. In a previous paper, we have proved that this holds for all standard Sturmian words having an ultimately periodic directive sequence (the directive sequence for Fibonacci words is (1,1,...)). We prove here that the same conclusion holds for all standard Sturmian words having a directive sequence with bounded elements. More precisely, we obtain in fact a characterization of those directive sequences for which Hopcroft's algorithm has worst case running time. These are the directive sequences (d"1,d"2,d"3,...) for which the sequence of geometric means (d"1d"2...d"n)^1^/^n is bounded. As a consequence, we easily show that there exist directive sequences for which the worst case for the running time is not attained.