Computing All ℓ-Cover Automata Fast

Given a language L and a number l, an l-cover automaton for L is a DFA M such that its language coincides with L on all words of length at most l. It is known that an equivalent minimal l-cover automaton can be constructed in time O(n log n), where n is the number of states of M. This is achieved by a clever and sophisticated variant of HOPCROFT'S algorithm, which computes the l-similarity inside the main algorithm. This contribution presents an alternative simple algorithm with running time O(n log n), in which the computation is split into three phases. First, a compact representation of the gap table is created. Second, this representation is enriched with information about the length of a shortest word leading to the states. These two steps are independent of the parameter l. Third, the l-similarity is extracted by simple comparisons against l. In particular, this approach allows the calculation of all the sizes of minimal l-cover automata (for all valid l) in the same time bound.

[1]  Sven Schewe,et al.  Beyond Hyper-Minimisation---Minimising DBAs and DPAs is NP-Complete , 2010, FSTTCS.

[2]  Sheng Yu,et al.  Minimal cover-automata for finite languages , 1998, Theor. Comput. Sci..

[3]  J. Hartigan REPRESENTATION OF SIMILARITY MATRICES BY TREES , 1967 .

[4]  Viliam Geffert,et al.  Hyper-minimizing minimized deterministic finite state automata , 2009, RAIRO Theor. Informatics Appl..

[5]  Artur Jez,et al.  On Minimising Automata with Errors , 2011, MFCS.

[6]  Franck Guingne,et al.  Similarity relations and cover automata , 2005, RAIRO Theor. Informatics Appl..

[7]  C. J. Jardine,et al.  The structure and construction of taxonomic hierarchies , 1967 .

[8]  Artur Jez,et al.  Hyper-minimisation Made Efficient , 2009, MFCS.

[9]  Andrei Paun,et al.  An Efficient Algorithm for Constructing Minimal Cover Automata for Finite Languages , 2002, Int. J. Found. Comput. Sci..

[10]  David Gries,et al.  Describing an algorithm by Hopcroft , 1973, Acta Informatica.

[11]  S. C. Johnson Hierarchical clustering schemes , 1967, Psychometrika.

[12]  Heiko Körner,et al.  A Time And Space Efficient Algorithm For Minimizing Cover Automata For Finite Languages , 2003, Int. J. Found. Comput. Sci..

[13]  Rastislav Královič,et al.  Mathematical Foundations of Computer Science 2009, 34th International Symposium, MFCS 2009, Novy Smokovec, High Tatras, Slovakia, August 24-28, 2009. Proceedings , 2009, MFCS.

[14]  John E. Hopcroft,et al.  An n log n algorithm for minimizing states in a finite automaton , 1971 .