Skip to main content

2015 | OriginalPaper | Buchkapitel

Computing Primitively-Rooted Squares and Runs in Partial Words

verfasst von : Francine Blanchet-Sadri, Jordan Nikkel, J. D. Quigley, Xufan Zhang

Erschienen in: Combinatorial Algorithms

Verlag: Springer International Publishing

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

This paper deals with two types of repetitions in strings: squares, which consist of two adjacent occurrences of substrings, and runs, which are periodic substrings that cannot be extended further to the left or right. We show how to compute all the primitively-rooted squares in a given partial word, which is a sequence that may have undefined positions, called holes or wildcards, that match any letter of the alphabet over which the sequence is defined. We also describe an algorithm for computing all primitively-rooted runs in a given partial word.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Literatur
2.
Zurück zum Zitat Apostolico, A., Preparata, F.P.: Optimal off-line detection of repetitions in a string. Theor. Comput. Sci. 22(3), 297–315 (1983)MATHMathSciNetCrossRef Apostolico, A., Preparata, F.P.: Optimal off-line detection of repetitions in a string. Theor. Comput. Sci. 22(3), 297–315 (1983)MATHMathSciNetCrossRef
3.
Zurück zum Zitat Bach, E., Shallit, J.: Algorithmic Number Theory. Efficient Algorithms, vol. 1. MIT Press, Cambridge (1996) MATH Bach, E., Shallit, J.: Algorithmic Number Theory. Efficient Algorithms, vol. 1. MIT Press, Cambridge (1996) MATH
4.
Zurück zum Zitat Blanchet-Sadri, F., Bodnar, M., Fox, N., Hidakatsu, J.: A graph polynomial approach to primitivity. In: Dediu, A.-H., Martín-Vide, C., Truthe, B. (eds.) LATA 2013. LNCS, vol. 7810, pp. 153–164. Springer, Heidelberg (2013) CrossRef Blanchet-Sadri, F., Bodnar, M., Fox, N., Hidakatsu, J.: A graph polynomial approach to primitivity. In: Dediu, A.-H., Martín-Vide, C., Truthe, B. (eds.) LATA 2013. LNCS, vol. 7810, pp. 153–164. Springer, Heidelberg (2013) CrossRef
5.
Zurück zum Zitat Blanchet-Sadri, F., Jiao, Y., Machacek, J.M., Quigley, J.D., Zhang, X.: Squares in partial words. Theor. Comput. Sci. 530, 42–57 (2014)MATHMathSciNetCrossRef Blanchet-Sadri, F., Jiao, Y., Machacek, J.M., Quigley, J.D., Zhang, X.: Squares in partial words. Theor. Comput. Sci. 530, 42–57 (2014)MATHMathSciNetCrossRef
6.
Zurück zum Zitat Blanchet-Sadri, F., Mercaş, R., Rashin, A., Willett, E.: Periodicity algorithms and a conjecture on overlaps in partial words. Theor. Comput. Sci. 443, 35–45 (2012)MATHCrossRef Blanchet-Sadri, F., Mercaş, R., Rashin, A., Willett, E.: Periodicity algorithms and a conjecture on overlaps in partial words. Theor. Comput. Sci. 443, 35–45 (2012)MATHCrossRef
7.
8.
Zurück zum Zitat Crochemore, M., Hancart, C., Lecroq, T.: Algorithms on Strings. Cambridge University Press, New York (2007) MATHCrossRef Crochemore, M., Hancart, C., Lecroq, T.: Algorithms on Strings. Cambridge University Press, New York (2007) MATHCrossRef
9.
Zurück zum Zitat Crochemore, M., Ilie, L., Rytter, W.: Repetitions in strings: Algorithms and combinatorics. Theor. Comput. Sci. 410, 5227–5235 (2009)MATHMathSciNetCrossRef Crochemore, M., Ilie, L., Rytter, W.: Repetitions in strings: Algorithms and combinatorics. Theor. Comput. Sci. 410, 5227–5235 (2009)MATHMathSciNetCrossRef
10.
Zurück zum Zitat Diaconu, A., Manea, F., Tiseanu, C.: Combinatorial queries and updates on partial words. In: Kutyłowski, M., Charatonik, W., Gębala, M. (eds.) FCT 2009. LNCS, vol. 5699, pp. 96–108. Springer, Heidelberg (2009) CrossRef Diaconu, A., Manea, F., Tiseanu, C.: Combinatorial queries and updates on partial words. In: Kutyłowski, M., Charatonik, W., Gębala, M. (eds.) FCT 2009. LNCS, vol. 5699, pp. 96–108. Springer, Heidelberg (2009) CrossRef
11.
Zurück zum Zitat Fischer, M., Paterson, M.: String matching and other products. In: Karp, R. (ed.) 7th SIAM-AMS Complexity of Computation, pp. 113–125 (1974) Fischer, M., Paterson, M.: String matching and other products. In: Karp, R. (ed.) 7th SIAM-AMS Complexity of Computation, pp. 113–125 (1974)
12.
Zurück zum Zitat Halava, V., Harju, T., Kärki, T.: On the number of squares in partial words. RAIRO-Theor. Inf. Appl. 44(1), 125–138 (2010)MATHCrossRef Halava, V., Harju, T., Kärki, T.: On the number of squares in partial words. RAIRO-Theor. Inf. Appl. 44(1), 125–138 (2010)MATHCrossRef
13.
Zurück zum Zitat Hardy, G.H., Wright, E.M.: An Introduction to the Theory of Numbers. Oxford University Press, London (2008) MATH Hardy, G.H., Wright, E.M.: An Introduction to the Theory of Numbers. Oxford University Press, London (2008) MATH
14.
Zurück zum Zitat Kolpakov, R., Kucherov, G.: Finding maximal repetitions in a string in linear time. In: FOCS 1999, pp. 596–604. IEEE Computer Society Press, Los Alamitos (1999) Kolpakov, R., Kucherov, G.: Finding maximal repetitions in a string in linear time. In: FOCS 1999, pp. 596–604. IEEE Computer Society Press, Los Alamitos (1999)
15.
16.
Zurück zum Zitat Main, M.G., Lorentz, R.J.: An O(nlog n) algorithm for finding all repetitions in a string. J. Algorithms 5(3), 422–432 (1984)MATHMathSciNetCrossRef Main, M.G., Lorentz, R.J.: An O(nlog n) algorithm for finding all repetitions in a string. J. Algorithms 5(3), 422–432 (1984)MATHMathSciNetCrossRef
17.
Zurück zum Zitat Manea, F., Mercaş, R., Tiseanu, C.: Periodicity algorithms for partial words. In: Murlak, F., Sankowski, P. (eds.) MFCS 2011. LNCS, vol. 6907, pp. 472–484. Springer, Heidelberg (2011) CrossRef Manea, F., Mercaş, R., Tiseanu, C.: Periodicity algorithms for partial words. In: Murlak, F., Sankowski, P. (eds.) MFCS 2011. LNCS, vol. 6907, pp. 472–484. Springer, Heidelberg (2011) CrossRef
Metadaten
Titel
Computing Primitively-Rooted Squares and Runs in Partial Words
verfasst von
Francine Blanchet-Sadri
Jordan Nikkel
J. D. Quigley
Xufan Zhang
Copyright-Jahr
2015
DOI
https://doi.org/10.1007/978-3-319-19315-1_8