on extremal cases of hopcroft’s algorithm

10
On Extremal Cases of Hopcroft’s Algorithm Giusi Castiglione, Antonio Restivo, and Marinella Sciortino Universit`a di Palermo, Dipartimento di Matematica e Applicazioni, via Archirafi, 34 - 90123 Palermo, Italy {giusi,restivo,mari}@math.unipa.it Abstract. In this paper we consider the problem of minimization of deterministic finite automata (DFA) with reference to Hopcroft’s algo- rithm. Hopcroft’s algorithm has several degrees of freedom, so there can exist different sequences of refinements of the set of the states that lead to the final partition. We find an infinite family of binary automata for which such a process is unique. Some recent papers (cf. [3,7,1]) have been devoted to find families of automata for which Hopcroft’s algorithm has its worst execution time. They are unary automata associated to circular words. However, automata minimization can be achieved also in linear time when the alphabet has only one letter (cf. [14]), so in this paper we face the tightness of the algorithm when the alphabet contains more than one letter. In particular we define an infinite family of binary automata representing the worst case of Hopcroft’s algorithm. They are automata associated to particular trees and we deepen the connection between the refinement process of Hopcroft’s algorithm and the combinatorial prop- erties of such trees. 1 Introduction A deterministic finite automaton (DFA) is a recognizer of a regular language and provides a compact representation of the language itself. Among the equiv- alent deterministic finite automata (i.e. recognizing the same regular language), there exists a unique one (up to isomorphism) with minimal number of states, called minimal automaton of the language. Describing a regular language by its minimal automaton is important in many applications, such as, for instance, text searching, lexical analysis or coding systems, where space considerations are prominent. Finding the minimal automaton equivalent to a given DFA is a classical and largely studied problem in Theory of Automata and Formal Languages, also called automata minimization problem. Several methods have been developed to minimize a deterministic finite automaton. Some of them operate by successive refinements of a partition of the states. For instance, we recall the well known algorithm proposed by Moore in 1956 (cf. [13]) with time complexity O(kn 2 ), where n is the number of states of the DFA and k is the cardinality of the alphabet. More efficient is the algorithm provided by Hopcroft in 1971 (cf. [9]) where the refinements are computed in O(kn log n). Besides, such an algorithm is the fastest known solution to the automata minimization problem. S. Maneth (Ed.): CIAA 2009, LNCS 5642, pp. 14–23, 2009. c Springer-Verlag Berlin Heidelberg 2009

Upload: independent

Post on 01-Dec-2023

0 views

Category:

Documents


0 download

TRANSCRIPT

On Extremal Cases of Hopcroft’s Algorithm

Giusi Castiglione, Antonio Restivo, and Marinella Sciortino

Universita di Palermo, Dipartimento di Matematica e Applicazioni,via Archirafi, 34 - 90123 Palermo, Italy{giusi,restivo,mari}@math.unipa.it

Abstract. In this paper we consider the problem of minimization ofdeterministic finite automata (DFA) with reference to Hopcroft’s algo-rithm. Hopcroft’s algorithm has several degrees of freedom, so there canexist different sequences of refinements of the set of the states that leadto the final partition. We find an infinite family of binary automata forwhich such a process is unique. Some recent papers (cf. [3,7,1]) have beendevoted to find families of automata for which Hopcroft’s algorithm hasits worst execution time. They are unary automata associated to circularwords. However, automata minimization can be achieved also in lineartime when the alphabet has only one letter (cf. [14]), so in this paper weface the tightness of the algorithm when the alphabet contains more thanone letter. In particular we define an infinite family of binary automatarepresenting the worst case of Hopcroft’s algorithm. They are automataassociated to particular trees and we deepen the connection between therefinement process of Hopcroft’s algorithm and the combinatorial prop-erties of such trees.

1 Introduction

A deterministic finite automaton (DFA) is a recognizer of a regular languageand provides a compact representation of the language itself. Among the equiv-alent deterministic finite automata (i.e. recognizing the same regular language),there exists a unique one (up to isomorphism) with minimal number of states,called minimal automaton of the language. Describing a regular language by itsminimal automaton is important in many applications, such as, for instance,text searching, lexical analysis or coding systems, where space considerationsare prominent.

Finding the minimal automaton equivalent to a given DFA is a classical andlargely studied problem in Theory of Automata and Formal Languages, alsocalled automata minimization problem. Several methods have been developed tominimize a deterministic finite automaton. Some of them operate by successiverefinements of a partition of the states. For instance, we recall the well knownalgorithm proposed by Moore in 1956 (cf. [13]) with time complexity O(kn2),where n is the number of states of the DFA and k is the cardinality of thealphabet. More efficient is the algorithm provided by Hopcroft in 1971 (cf. [9])where the refinements are computed in O(kn log n). Besides, such an algorithmis the fastest known solution to the automata minimization problem.

S. Maneth (Ed.): CIAA 2009, LNCS 5642, pp. 14–23, 2009.c© Springer-Verlag Berlin Heidelberg 2009

On Extremal Cases of Hopcroft’s Algorithm 15

A taxonomy of finite automata minimization algorithms is given in [15]. Veryrecently, many papers on experimental comparison of minimization algorithmshas been published.

The general complexity of the automata minimization problem is still an openquestion but there are families of automata for which Hopcroft’s algorithm runseffectively in Θ(n log n) (cf. [3,7,6]). Such families are unary automata associatedto circular words. However, automata minimization can be achieved also in lineartime when the alphabet has only one letter (cf. [14]), but the solution does notseem to extend to larger alphabet. In this paper we are focus on finding families ofautomata defined on more that one letter alphabet representing the worst case ofHopcroft’s algorithm. Actually, we provide an infinite family of binary automatadefined by binary labelled trees and relate the execution of Hopcroft’s algorithmon such automata with some combinatorial properties of the associated binarytree. Moreover, for such automata the refinement process leading from the initialpartition of set of the states to the final one is uniquely determined. Recall that,in general, Hopcroft’s algorithm has several degrees of freedom since it leavesseveral choices to the programmer.

The paper is organized as follows. The Section 2 contains the description ofHopcroft’s algorithm by focusing on its degrees of freedom. The Section 3 in-troduces the notion of standard binary tree and standard tree-like automaton.The uniqueness of the execution of Hopcroft’s algorithm on standard tree-likeautomata is studied in Section 4. In Section 5 we deepen the problem of tight-ness of Hopcroft’s algorithm, by providing an infinite family of binary automatarepresenting the worst case of the algorithm. Section 6 describes some sidedresearch topics and future directions.

2 Hopcroft’s Algorithm

In 1971 Hopcroft proposed an algorithm for minimizing a deterministic finitestate automaton with n states, over an alphabet Σ, in O(|Σ|n log n) time (cf.[9]). This algorithm has been widely studied and described by many authors (seefor example [10,12,15]) cause of the difficult to give its theoretical justification,to prove correctness and to compute running time.

In Figure 1 we give a brief description of the algorithm’s running.Given an automaton A = (Q, Σ, δ, q0, F ), it computes the coarsest congruence

that saturates F . Let us observe that the partition {F, Q\F}, trivially, saturatesF. Given a partition Π = {Q1, Q2, ..., Qm} of Q, we say that the pair (Qi, a),with a ∈ Σ, splits the class Qj if δ−1

a (Qi) ∩ Qj �= ∅ and Qj � δ−1a (Qi). In this

case, the class Qj is split into Q′j = δ−1

a (Qi) ∩ Qj and Q′′j = Qj \ δ−1

a (Qi).Furthermore, we have that a partition Π is a congruence if and only if for any1 ≤ i, j ≤ m and any a ∈ Σ, the pair (Qi, a) does not splits Qj .

Hopcroft’s algorithm operates by a sequence Π1, Π2, . . . , Πl of successive re-finements of a partition of the states and it is based on the so-called “smallerhalf” strategy. Actually, it starts from the partition Π1 = {F, Q \ F} and re-fines it by means of splitting operations until it obtains a congruence, i.e. until

16 G. Castiglione, A. Restivo, and M. Sciortino

Hopcroft Minimization (A = (Q,Σ, δ, q0, F ))1. Π ← {F, Q \ F}2. for all a ∈ Σ do3. W ← {(min(F, Q \ F ), a)}4. while W �= ∅ do5. choose and delete any (C, a) from W6. for all B ∈ Π do7. if B is split from (C,a) then8. B′ ← δ−1

a (C) ∩ B9. B′′ ← B \ δ−1

a (C)10. Π ← Π \ {B} ∪ {B′, B′′}11. for all b ∈ Σ do12. if (B, b) ∈ W then13. W ←W \ {(B, b)} ∪ {(B′, b), (B′′, b)}14. else15. W ←W ∪ {(min(B′, B′′), b)}

Fig. 1. Hopcroft’s algorithm

no split is possible. To do that it maintains the current partition Πi and a setW ⊆ Πi ×Σ, called waiting set, that contains the pairs for which it has to checkwhether some classes of the current partition are split. The main loop of thealgorithm takes and deletes one pair (C, a) from W and, for each class B of Πi,checks if it is split by (C, a). If it is the case, the class B in Πi is replaced by thetwo sets B′ and B′′ obtained from the split. For each b ∈ Σ, if (B, b) ∈ W , it isreplaced by (B′, b) and (B′′, b), otherwise the pair (min(B′, B′′), b) is added toW (with the notation min(B′, B′′) we mean the set with minimum cardinalitybetween B′ and B′′). Let us observe that a class is split by (B′, b) if and only ifit is split by (B′′, b), hence, the pair (min(B′, B′′), b) is chosen for convenience.

We point out that the algorithm has a degree of freedom because the pair(C, a) to be processed at each step is freely chosen. Another free choice interveneswhen a set B is split into B′ and B′′ with the same size and it is not present inW . In this case, the algorithm can, indifferently, add to W either B′ or B′′.

Such considerations imply that there can be several sequences of successiverefinements that starting from the initial partition Π1 = {F, Q \ F} lead to thecoarsest congruence of the input automaton A.

As regards the running time of the algorithm we can observe that the split-ting of classes of the partition, with respect to the pair (C, a), takes a timeproportional to the cardinality of the set C. Hence, the running time of thealgorithm is proportional to the sum of the cardinality of all sets processed.Hopcroft proved that the running time is bounded by O(|Σ||Q| log |Q|). In [3]the authors proved that this bound is tight, in the sense that they provided afamily of unary automata for which there exist a sequence of refinements suchthat the time complexity of the algorithm is Θ(|Σ||Q| log |Q|). However, for thesame automata there exist other sequences of refinements producing executionsthat run in linear time. In [7] we presented a family of unary automata for which

On Extremal Cases of Hopcroft’s Algorithm 17

there is a unique sequence of refinements. Moreover we defined a subclass ofsuch automata for which the running time is Θ(|Σ||Q| log |Q|). Such a subclassof unary automata was extended in [1]. Actually, unary automata represent avery special case for the automata minimization problem. In fact, the minimiza-tion can be achieved also in linear time when the alphabet has only one letter(cf. [14]). So, we are interested in facing both the problem of the uniqueness ofthe refinements and the tightness of the algorithm when the alphabet containsmore than one letter.

In next sections we consider a family of binary automata having a uniquesequence of refinements. Moreover we find a class of binary automata for whichthe running time of Hopcroft’s algorithm is Θ(|Σ||Q| log |Q|).

3 Standard Trees and Tree-Like Automata

In this section we present a class of binary automata defined by using the notionof binary labelled tree.

Let Σ = {0, 1} and A = {a, b} be two binary alphabets. A binary labelledtree over A is a map τ : Σ∗ → A whose domain dom(τ) is a prefix-closed subsetof Σ∗. The elements of dom(τ) are called nodes, if dom(τ) has a finite (resp.infinite) number of elements we say that τ is finite (resp. infinite). The height ofa finite tree τ , denoted by h(τ), is defined as max{|u|+ 1, u ∈ dom(τ)}. We saythat a tree τ is a prefix of a tree τ if dom(τ ) ⊆ dom(τ) and τ is the restrictionof τ to dom(τ ). A complete infinite tree is a tree whose domain is Σ∗. Besides, acomplete finite tree of height n is a tree whose domain is Σn−1. The empty treeis the tree whose domain is the empty set.

a

b a

b b a

a a b a b

Fig. 2. Binary infinite labeled tree

If x, y ∈ dom(τ) are nodes of τ such that x = yi for some i ∈ Σ, we saythat y is the father of x and in particular, if i = 0 (resp. i = 1) x is the leftson (resp. right son) of y. A node without sons is called leaf and the node εis called the root of the tree. Given a tree τ , the outer frontier of τ is the setFr(τ) = {xi|x ∈ dom(τ), i ∈ Σ, xi /∈ dom(τ)}.Example 1. In Fig.2 an example of an infinite tree τ is depicted. We have, forinstance, that 0111, 1011 ∈ dom(τ) and 0110, 1001, 1000 ∈ Fr(τ).

18 G. Castiglione, A. Restivo, and M. Sciortino

Let τ and τ ′ be two binary labelled trees. We have that τ is a subtree of τ ′ ifthere exist a node v ∈ dom(τ ′) such that:

i) v · dom(τ) = {vu|u ∈ dom(τ)} ⊆ dom(τ ′)ii) τ(u) = τ ′(vu) for all u ∈ dom(τ).

In this case we say that τ is a subtree of τ ′ that occurs at node v.In [11] operations among trees have been introduced. Here, we are interested

in the concatenation among trees. Roughly speaking, we can say that in order toconcatenate two trees τ1 and τ2 we attach the root of τ2 to one of the element ofthe outer frontier of τ1. Obviously, since the outer frontier of τ1 can have morethan one element, by concatenating τ1 and τ2 we obtain a set of trees. In whatfollows we use the notion of simultaneous concatenation of τ2 to all the nodes ofFr(τ1) i.e. the tree τ1 ◦ τ2 defined as follows:

i) dom(τ1 ◦ τ2) = dom(τ1) ∪ Fr(τ1)dom(τ2);

ii) ∀x ∈ dom(τ1◦τ2), τ1◦τ2(x) ={

τ1(x) if x ∈ dom(τ1)τ2(y) if x = zy, z ∈ Fr(τ1), y ∈ dom(τ2).

Let τ be a tree, with τω we denote the infinite simultaneous concatenationτ ◦τ ◦τ ◦ . . . . Notice that, by infinitely applying the simultaneous concatenation,we obtain a complete infinite tree.

We define factor of a tree a finite complete subtree of the tree, and in thefollowing we are interested in particular factors we define by using some notationsgiven in [5].

Let τ be a tree, σ and σ two factors of τ such that σ is the complete prefixof σ of height h(σ) − 1, then σ is called an extension of σ in τ . A factor σ of atree τ is extendable in τ if there exists at least one extension of σ in τ .

A factor σ of τ is 2-special if there exist exactly two different extensions of σin τ .

We say that γ is a circular factor of τ if it is a factor of τω with h(γ) ≤ h(τ).A circular factor γ of τ is a 2-special circular factor if there exist exactly twodifferent extensions of γ in τω (that we can call circular extensions). The conceptof circular factor can be easily understood by noting that in the case of unarytree it coincides with the well-known notion of circular factor of a word.

With reference to a characterization of the notion of circular standard wordgiven in [4], we say that a finite tree τ is a standard tree if for each 0 ≤ h ≤ h(τ)−2it has only a 2-special circular factor of height h.

Example 2. An example of standard tree, called finite uniform tree, is a completetree defined by labelling all the nodes at the same level with the same letter takenin the same order it occurs in a given standard word. In Figure 3 we give theuniform tree from the word abaab.

Let A = (Q, Σ, δ, q0, F ) be a deterministic finite automaton (DFA) over thefinite alphabet Σ, where Q is a finite state set, δ is a transition function, q0 ∈ Qis the initial state and F ⊆ Q the set of final states. Let G = (V, E) be the

On Extremal Cases of Hopcroft’s Algorithm 19

a

b

a

a

b b

a

b b

a

a

b b

a

b b

b

a

a

b b

a

b b

a

a

b b

a

b b

Fig. 3. The finite uniform tree defined from the word abaab

transition directed graph associated to A. We say that A is a tree-like automatonif G = (V, E) has a subgraph Gt = (V, Et), containing all nodes V , which is atree (called skeleton) with root q0, and such that all edges of E\Et are edgesfrom a node to an ancestor.

Given a finite binary labelled tree τ we can uniquely associate a tree-like au-tomatonAτ having τ as skeleton and such that for each missing edge we add a tran-sition to the root of the tree. Moreover, the root is the initial state and the statescorresponding to nodes labelled by a (resp. b) are non-final (resp. final) states.

Example 3. In Fig.4 a finite labelled tree and the corresponding tree-like automa-ton are depicted. In the automaton, the initial state labelled by 1 correspondsto the root of the tree.

a

b

a

a

b

a

b

a

1

2

3

4

5

6

7

8

0

1

0

0

1

0

1

1

0

0

1

1 0

01

Fig. 4. A tree τ and tree-like automaton Aτ

4 Hopcroft’s Algorithm on Standard Tree-Like Automata

In this section we deepen the connection between the refinements process ofHopcroft’s algorithm when applied on a tree-like automaton associated to astandard tree and the combinatorial properties of the tree itself. By using suchproperties we prove that such a process is uniquely determined.

20 G. Castiglione, A. Restivo, and M. Sciortino

We define standard tree-like automaton a tree-like automaton Aτ associatedto a standard tree τ . The main theorem of this section gives a characterizationof the partitions representing the refinement process of Hopcroft’s algorithm onstandard tree-like automata.

Let Aτ = (Q, Σ, δ, q0, F ) be a standard tree-like automaton. For any circularfactor σ of τ , we define the subset Qσ of states of Aτ as the set of occurrences ofσ in τ . Trivially, we have that Qε = Q, Qb = F and Qa = Q\F . More in general,one can prove that the classes that appear during each execution of Hopcroft’salgorithm on a standard tree-like automaton Aτ are all of the form Qσ for somecircular factor σ of τ .

The following proposition establishes a close relation between the split op-eration during the execution of Hopcroft’s algorithm on a standard tree-likeautomaton and the notion of circular special factor of a standard tree.

Proposition 1. Let Aτ be a standard tree-like automaton. Let Qσ and Qγ beclasses of a partition of Q. If (Qγ , x) splits Qσ, for some x ∈ Σ, with h(γ) =h(σ), then σ is a 2-special circular factor of τ . The resulting classes are Qσ′ andQσ′′, where σ′ and σ′′ are the only two possible extensions of σ in τ .

The following theorem states that, in case of standard tree-like automata, thesequence of partitions created during the refinement process of Hopcroft’s algo-rithm is unique whatever element we choose and delete from the waiting set.The statement of the theorem characterizes each current partition after eachsplit operation of Hopcroft’s algorithm on a standard tree-like automaton.

Theorem 1. Let Aτ be a standard tree-like automaton. The sequence of therefinement process Π1, Π2, ...Πh(τ)−2 is uniquely determined and

Πk = {Qσ| σ is a circular factor of τ with h(σ) = k}

Note that the theorem states also that, the partition Πk of the set of the stateshas exactly k + 1 classes. In fact, one can easily prove that a tree τ is standardif and only if, for each k = 1, . . . , h(τ) − 1, τ has exactly k + 1 circular factorsof height k. For the sake of brevity, we don’t give the proof of the theorem butthe following two propositions play a fundamental role in proving the statement.They provide the main reasons for which the sequence of the split operationsis uniquely determined during the execution of Hopcroft’s algorithm. Indeed, ateach step, the splitting classes (if exist) of the waiting set, cause the same uniquesplit in the current partition and with respect to the same letter.

Proposition 2. Let Aτ be a standard tree-like automaton and σ and γ be twocircular factors of τ having the same height. If (Qγ , 0) (resp. (Qγ , 1)) splits Qσ

then (Qγ , 1) (resp. (Qγ , 0)) either does not split Qσ or splits it in the same way.

Proposition 3. Let Aτ be a standard tree-like automaton. Each (Qγ , x) splitsat most one class Qσ, with h(γ) = h(σ), for some x ∈ Σ.

On Extremal Cases of Hopcroft’s Algorithm 21

5 Word Trees

Let Σ = {0, 1} and A = {a, b}. Given two words v = v1v2...vn−1 ∈ Σ∗ and w =w1w2...wn ∈ A∗, by τv,w we denote the labelled tree τv,w such that dom(τv,w) isthe set of prefixes of v and the map is defined as follows:

{τv,w(ε) = w1

τv,w(v1v2...vi) = wi+1 ∀1 ≤ i ≤ n − 1

We call word tree the finite labelled tree τv,w. When v is obtained by taking theprefix of length n − 1 of w and by substituting a’s with 0’s and b’s with 1’s,we use the simpler notation τw. In Fig. 4 a word tree τw with w = abaababa isdepicted.

Our investigation is focused on word trees associated to standard words.We recall the well known notion of standard word. Let d1, d2, . . . , dn, . . . be

a sequence of natural integers, with d1 ≥ 0 and di > 0, for i = 2, . . . , n, . . ..Consider the following sequence of words {sn}n≥0 over the alphabet A: s0 = b,s1 = a, sn+1 = sdn

n sn−1 for n ≥ 1. Each finite words sn in the sequence iscalled standard word. It is uniquely determined by the (finite) directive sequence(d0, d1, ..., dn−1). In the special case where the directive sequence is of the form(1, 1, ..., 1, ...) we obtain the sequence of Fibonacci words.

In this section we consider the trees τw, when w is a standard word. Onecan prove that such trees are standard, so the associated tree-like automata arestandard. Actually, they represent an instance of standard trees that is oppositeto the finite uniform tree described in Section 3. The difference consists in thefact that the two extension of each 2-special circular factors differ only by a leaf,while in case of uniform tree all the leaves are involved.

The aim of this section is to compute the running time of Hopcroft’s algorithmon these automata by using propositions stated in previous section.

With c(A) we denote the running time of Hopcroft’s algorithm to minimize A.Firstly, we recall that the running time is proportional to the cardinality of

the classes processed in the waiting set. So, in order to make the computationwe have to establish which classes each time go into the waiting set. In thisparticular case, as we saw in previous section, the split that occurs at each stepinvolves the class Qσ with σ special factor of the tree. Then, at each step wehave a unique split of Qσ in Qσ′ and Qσ′′ . Furthermore, in order to prove themain result of this section, the following proposition is needed.

Proposition 4. Let τw be a standard word tree. At each step of Hopcroft’s al-gorithm on Aτw any class does not split itself.

Hence, we can conclude that each time only one class goes into the waiting set(the minimum between Qσ′ and Qσ′′), with both the letters of the alphabet. ByProposition 2 one can derive that such a class can cause a split with respect onlyone letter. Such facts lead to the following proposition.

22 G. Castiglione, A. Restivo, and M. Sciortino

Proposition 5. Let τw be a standard word tree. Then the time complexity ofHopcroft’s algorithm on Aτw is

c(Aτw ) = 2∑

σ∈sp(τw)

min(|Qσ′ |, |Qσ′′ |),

where with sp(τw) we denote the set of 2-special circular factor of τw.

In [6,1] the authors consider the unary cyclic automaton Aw associated to aword w and give an exact computation of the running time the algorithm onthese automata, when w is a standard word, by using the fact that c(Aw) =∑

u∈sp(w) min(|Qu0|, |Qu1|), where sp(w) is the set of special factors of w. Forsake of brevity we refer to [3] for the definition of the notion of unary cyclicautomaton.

Remark that, in case of a standard word tree τw, there is a one-to-one corre-spondence between the occurrences of the 2-special circular factors of τw and theoccurrences of the special factors of w. Consequently, we have the following result.

Proposition 6. Let τw be a standard word tree and w the corresponding stan-dard word.

c(Aτw ) = 2c(Aw).

The previous proposition states that Hopcroft’algorithm on binary standardtree-like automaton inherits all the worst cases obtained when it is applied onunary cyclic automata associated to standard words. Such worst cases are de-scribed in [6,1]. Such a consideration is formalized in the following theorem.

Theorem 2. Hopcroft’s algorithm on tree-like automata A = (Q, Σ, δ, q0, F )associated to standard word trees has a uniquely determined refinement processand runs in time Θ(|Σ||Q|log|Q|).Hence, we proved that there exist automata on binary alphabet for whichHopcroft’s algorithm is tight.

6 Conclusions and Related Works

In this paper we face the problem of minimization of deterministic finite au-tomata with reference to Hopcroft’s algorithm. We consider the refinement pro-cesses of the algorithm and we find an infinite family of binary automata forwhich there is a unique process. It would be interesting to give a characteriza-tion of the automata for which the sequence of successive refinements is uniquelydetermined. Moreover we face the tightness of the algorithm when the alphabetcontains more than one letter. In particular we define an infinite family of binaryautomata representing the worst case of Hopcroft’s algorithm.

Remark that the here defined standard trees can be arouse an independentinterest because they are closely related to a class of infinite trees, called Stur-mian Trees (cf. [2]). Actually the standard trees allow to construct an infinitefamily of Sturmian Trees having some interesting combinatorial properties as,for instance, the balance. We investigate such a family in [8].

On Extremal Cases of Hopcroft’s Algorithm 23

References

1. Berstel, J., Boasson, L., Carton, O.: Continuant Polynomials and worst-case ofHopcroft’s algorithm. Theoretical Computer Science (to appear)

2. Berstel, J., Boasson, L., Carton, O., Fagnot, I.: Sturmian trees. Theory of Com-puting Systems (to appear)

3. Berstel, J., Carton, O.: On the complexity of Hopcroft’s state minimization algo-rithm. In: Domaratzki, M., Okhotin, A., Salomaa, K., Yu, S. (eds.) CIAA 2004.LNCS, vol. 3317, pp. 35–44. Springer, Heidelberg (2005)

4. Borel, J.P., Reutenauer, C.: On Christoffel classes. RAIRO-Theoretical Informaticsand Applications 450, 15–28 (2006)

5. Carpi, A., de Luca, A., Varricchio, S.: Special factors and uniqueness conditions inrational trees. Theory Comput. Syst. 34(4), 375–395 (2001)

6. Castiglione, G., Restivo, A., Sciortino, M.: Circular sturmian words and hopcroft’salgorithm. Theoretical Computer Science (to appear)

7. Castiglione, G., Restivo, A., Sciortino, M.: Hopcroft’s algorithm and cyclic au-tomata. In: Martın-Vide, C., Otto, F., Fernau, H. (eds.) LATA 2008. LNCS,vol. 5196, pp. 172–183. Springer, Heidelberg (2008)

8. Castiglione, G., Restivo, A., Sciortino, M.: On a family of sturmian trees. Technicalreport, University of Palermo (2009)

9. Hopcroft, J.E.: An n log n algorithm for mimimizing the states in a finite automa-ton. In: Kohavi, Z., Paz, A. (eds.) Theory of machines and computations (Proc.Internat. Sympos. Technion, Haifa, 1971), pp. 189–196. Academic Press, New York(1971)

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

11. Mantaci, S., Restivo, A.: Codes and equations on trees. Theor. Comput. Sci. 255(1-2), 483–509 (2001)

12. Matz, O., Miller, A., Potthoff, A., Thomas, W., Valkema, E.: Report on the pro-gram AMoRE. Technical Report 9507, Inst. f. Informatik u. Prakt. Math., CAUKiel (1995)

13. Moore, E.F.: Gedaken experiments on sequential machines. In: Automata Studies,pp. 129–153 (1956)

14. Paige, R., Tarjan, R.E., Bonic, R.: A linear time solution to the single functioncoarsest partition problem. Theor. Comput. Sci. 40, 67–84 (1985)

15. Watson, B.: A taxonomy of finite automata minimization algorithms. TechnicalReport 93/44, Eindhoven University of Technology, Faculty of Mathematics andComputing Science (1994)