×

On the complexity of deciding avoidability of sets of partial words. (English) Zbl 1247.68126

Diekert, Volker (ed.) et al., Developments in language theory. 13th international conference, DLT 2009, Stuttgart, Germany, June 30–July 3, 2009. Proceedings. Berlin: Springer (ISBN 978-3-642-02736-9/pbk). Lecture Notes in Computer Science 5583, 113-124 (2009).
Summary: F. Blanchet-Sadri et al. [Theor. Comput. Sci. 410, No. 8–10, 968–972 (2009; Zbl 1162.68028)] have shown that Avoidability, or the problem of deciding the avoidability of a finite set of partial words over an alphabet of size \(k \geq 2\), is \({\mathcal{NP}}\)-hard. 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\).
For the entire collection see [Zbl 1165.68006].

MSC:

68Q45 Formal languages and automata
68Q25 Analysis of algorithms and problem complexity

Citations:

Zbl 1162.68028
Full Text: DOI

References:

[1] Lothaire, M.: Algebraic Combinatorics on Words. Cambridge University Press, Cambridge (2002) · Zbl 1001.68093 · doi:10.1017/CBO9781107326019
[2] Mykkeltveit, J.: A proof of golomb’s conjecture for the de bruijn graph. Journal of Combinatorial Theory, Series B 13, 40–45 (1972) · Zbl 0221.05068 · doi:10.1016/0095-8956(72)90006-8
[3] Champarnaud, J., Hansel, G., Perrin, D.: Unavoidable sets of constant length. International Journal of Algebra and Computation 14, 241–251 (2004) · Zbl 1101.68072 · doi:10.1142/S0218196704001700
[4] Blanchet-Sadri, F., Brownstein, N., Kalcic, A., Palumbo, J., Weyand, T.: Unavoidable sets of partial words. Theory of Computing Systems (to appear, 2009) · Zbl 1187.68358 · doi:10.1007/s00224-008-9106-1
[5] Aho, A., Corasick, M.: Efficient string machines, an aid to bibliographic research. Communications of the ACM 18, 333–340 (1975) · Zbl 0301.68048 · doi:10.1145/360825.360855
[6] Blanchet-Sadri, F., Jungers, R., Palumbo, J.: Testing avoidability on sets of partial words is hard. Theoretical Computer Science 410, 968–972 (2009) · Zbl 1162.68028 · doi:10.1016/j.tcs.2008.11.011
[7] 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) · doi:10.1007/978-3-642-59136-5_6
[8] Kobayashi, Y.: Repetition-free words. Theoretical Computer Science 44, 175–197 (1986) · Zbl 0596.20058 · doi:10.1016/0304-3975(86)90116-7
[9] Goulden, I., Jackson, D.: Combinatorial Enumeration. Dover (2004)
[10] Blanchet-Sadri, F.: Algorithmic Combinatorics on Partial Words. Chapman & Hall/CRC Press, Boca Raton (2007) · Zbl 1180.68205 · doi:10.1201/9781420060935
[11] 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) · doi:10.1007/978-1-4684-2001-2_9
[12] Savitch, W.J.: Relationship between nondeterministic and deterministic tape classes. Journal of Computer and System Sciences 4, 177–192 (1970) · Zbl 0188.33502 · doi:10.1016/S0022-0000(70)80006-X
[13] Jukna, S.: Extremal Combinatorics. Springer, Heidelberg (2001) · doi:10.1007/978-3-662-04650-0
This reference list is based on information provided by the publisher or from digital mathematics libraries. Its items are heuristically matched to zbMATH identifiers and may contain data conversion errors. In some cases that data have been complemented/enhanced by data from zbMATH Open. This attempts to reflect the references listed in the original paper as accurately as possible without claiming completeness or a perfect matching.