Abstract
Blanchet-Sadri et al. have shown that Avoidability, or the problem of deciding the avoidability of a finite set of partial words over an alphabet of size k ≥ 2, is \({\mathcal{NP}}\)-hard [Theoret. Comput. Sci. 410 (2009) 968–972]. Building on their work, we analyze in this paper the complexity of natural variations on the problem. While some of them are \({\mathcal{NP}}\)-hard, others are shown to be efficiently decidable. Using some combinatorial properties of de Bruijn graphs, we establish a correspondence between lengths of cycles in such graphs and periods of avoiding words, resulting in a tight bound for periods of avoiding words. We also prove that Avoidability can be solved in polynomial space, and reduces in polynomial time to the problem of deciding the avoidability of a finite set of partial words of equal length over the binary alphabet. We give a polynomial bound on the period of an infinite avoiding word, in the case of sets of full words, in terms of two parameters: the length and the number of words in the set. We give a polynomial space algorithm to decide if a finite set of partial words is avoided by a non-ultimately periodic infinite word. The same algorithm also decides if the number of finite words of length n avoiding a given finite set of partial words grows polynomially or exponentially with n.
This material is based upon work supported by the National Science Foundation under Grant No. DMS–0754154. The Department of Defense is also gratefully acknowledged. We thank the referees of a preliminary version of this paper for their very valuable comments and suggestions.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Lothaire, M.: Algebraic Combinatorics on Words. Cambridge University Press, Cambridge (2002)
Mykkeltveit, J.: A proof of golomb’s conjecture for the de bruijn graph. Journal of Combinatorial Theory, Series B 13, 40–45 (1972)
Champarnaud, J., Hansel, G., Perrin, D.: Unavoidable sets of constant length. International Journal of Algebra and Computation 14, 241–251 (2004)
Blanchet-Sadri, F., Brownstein, N., Kalcic, A., Palumbo, J., Weyand, T.: Unavoidable sets of partial words. Theory of Computing Systems (to appear, 2009)
Aho, A., Corasick, M.: Efficient string machines, an aid to bibliographic research. Communications of the ACM 18, 333–340 (1975)
Blanchet-Sadri, F., Jungers, R., Palumbo, J.: Testing avoidability on sets of partial words is hard. Theoretical Computer Science 410, 968–972 (2009)
Choffrut, C., Karhumäki, J.: Combinatorics of words. In: Rozenberg, G., Salomaa, A. (eds.) Handbook of Formal Languages, vol. 1, pp. 329–438. Springer, Heidelberg (1997)
Kobayashi, Y.: Repetition-free words. Theoretical Computer Science 44, 175–197 (1986)
Goulden, I., Jackson, D.: Combinatorial Enumeration. Dover (2004)
Blanchet-Sadri, F.: Algorithmic Combinatorics on Partial Words. Chapman & Hall/CRC Press, Boca Raton (2007)
Karp, R.: Reducibility among combinatorial problems. In: Miller, R.E., Thatcher, J.W. (eds.) Complexity of Computer Computations, pp. 85–103. Plenum, New York (1972)
Savitch, W.J.: Relationship between nondeterministic and deterministic tape classes. Journal of Computer and System Sciences 4, 177–192 (1970)
Jukna, S.: Extremal Combinatorics. Springer, Heidelberg (2001)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2009 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Blakeley, B., Blanchet-Sadri, F., Gunter, J., Rampersad, N. (2009). On the Complexity of Deciding Avoidability of Sets of Partial Words. In: Diekert, V., Nowotka, D. (eds) Developments in Language Theory. DLT 2009. Lecture Notes in Computer Science, vol 5583. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-02737-6_9
Download citation
DOI: https://doi.org/10.1007/978-3-642-02737-6_9
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-02736-9
Online ISBN: 978-3-642-02737-6
eBook Packages: Computer ScienceComputer Science (R0)