Skip to main content

Periods in Partial Words: An Algorithm

  • Conference paper
  • 588 Accesses

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 7056))

Abstract

Partial words are finite sequences over a finite alphabet that may contain some holes. A variant of the celebrated Fine-Wilf theorem shows the existence of a bound L = L(h,p,q) such that if a partial word of length at least L with h holes has periods p and q, then it has period \(\gcd(p,q)\). In this paper, we associate a graph with each p- and q-periodic word, and study two types of vertex connectivity on such a graph: modified degree connectivity and r-set connectivity where \(r = q \bmod{p}\). As a result, we give an algorithm for computing L(h, p, q) in the general case.

This material is based upon work supported by the National Science Foundation under Grant No. DMS–0452020.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Choffrut, C., Karhumäki, J.: Combinatorics of Words. In: Rozenberg, G., Salomaa, A. (eds.) Handbook of Formal Languages, vol. 1, pp. 329–438. Springer, Berlin (1997)

    Chapter  Google Scholar 

  2. Smyth, W.F.: Computing Patterns in Strings. Pearson, Addison-Wesley (2003)

    Google Scholar 

  3. Fine, N.J., Wilf, H.S.: Uniqueness theorems for periodic functions. Proceedings of the American Mathematical Society 16, 109–114 (1965)

    Article  MathSciNet  MATH  Google Scholar 

  4. Constantinescu, S., Ilie, L.: Generalised Fine and Wilf’s theorem for arbitrary number of periods. Theoretical Computer Science 339, 49–60 (2005)

    Article  MathSciNet  MATH  Google Scholar 

  5. Berstel, J., Boasson, L.: Partial words and a theorem of Fine and Wilf. Theoretical Computer Science 218, 135–141 (1999)

    Article  MathSciNet  MATH  Google Scholar 

  6. Blanchet-Sadri, F.: Algorithmic Combinatorics on Partial Words. Chapman & Hall/CRC Press, Boca Raton, FL (2008)

    MATH  Google Scholar 

  7. Blanchet-Sadri, F., Bal, D., Sisodia, G.: Graph connectivity, partial words, and a theorem of Fine and Wilf. Information and Computation 206(5), 676–693 (2008)

    Article  MathSciNet  MATH  Google Scholar 

  8. Halava, V., Harju, T., Kärki, T.: Interaction properties of relational periods. Discrete Mathematics and Theoretetical Computer Science 10, 87–112 (2008)

    MathSciNet  MATH  Google Scholar 

  9. Shur, A.M., Gamzova, Y.V.: Partial words and the interaction property of periods. Izvestiya Rossiiskoi Akademii Nauk. Seriya Matematicheskaya 68(2), 191–214 (2004)

    Article  MATH  Google Scholar 

  10. Shur, A.M., Konovalova, Y.V.: On the Periods of Partial Words. In: Sgall, J., Pultr, A., Kolman, P. (eds.) MFCS 2001. LNCS, vol. 2136, pp. 657–665. Springer, Heidelberg (2001)

    Chapter  Google Scholar 

  11. Smyth, W.F., Wang, S.: A new approach to the periodicity lemma on strings with holes. Theoretical Computer Science 410, 4295–4302 (2009)

    Article  MathSciNet  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2011 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Blanchet-Sadri, F., Mandel, T., Sisodia, G. (2011). Periods in Partial Words: An Algorithm. In: Iliopoulos, C.S., Smyth, W.F. (eds) Combinatorial Algorithms. IWOCA 2011. Lecture Notes in Computer Science, vol 7056. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-25011-8_5

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-25011-8_5

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-25010-1

  • Online ISBN: 978-3-642-25011-8

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics