Skip to main content

L 1 Pattern Matching Lower Bound

  • Conference paper

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

Abstract

Let a text string T = t 0,...,t n − − 1 and a pattern string P = p 0,..., p m − − 1 t i , p j  ∈ IN be given. In The Approximate Pattern Matching in the L 1 metric problem (L 1-matching for short) the output is, for every text location i, the L 1 distance between the pattern and the length m substring of the text starting at i, i.e. Σ\(_{j=0}^{m-1}|{\it t}_{i+{\it j}}\)p j | . The Less Than Matching problem is that of finding all locations i of T where t \(_{i+{\it j}}\)p j j = 0,..., m–1 . The String Matching with Mismatches problem is that of finding the number of mismatches between the pattern and every length m substring of the text. For the three above problems, the fastest known deterministic solution is \(O(n\sqrt{m{\rm log}m})\) time.

In this paper we show that the latter two problems can be linearly reduced to the problem of L 1-matching.

Partially supported by GIF Young Scientists Program grant 2055-1168.6/2002.

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. Abrahamson, K.R.: Generalized string matching. SIAM J. Comput. 16(6), 1039–1051 (1987)

    Article  MATH  MathSciNet  Google Scholar 

  2. Amir, A., Farach, M.: Efficient 2-dimensional approximate matching of half-rectangular figures. Information and Computation 118(1), 1–11 (1995)

    Article  MATH  MathSciNet  Google Scholar 

  3. Amir, A., Lewenstein, M., Porat, E.: Faster algorithms for string matching with k mismatches. J. Algorithms 50(2), 257–275 (2004)

    Article  MATH  MathSciNet  Google Scholar 

  4. Amir, A., Lipsky, O., Porat, E., Umanski, J.: Approximate matching in the l1 metric. In: Apostolico, et al. (eds.) [5], pp. 91–103 (2005)

    Google Scholar 

  5. Apostolico, A., Crochemore, M., Park, K. (eds.): CPM 2005. LNCS, vol. 3537. Springer, Heidelberg (2005)

    MATH  Google Scholar 

  6. Apostolico, A., Galil, Z. (eds.): Combinatorial Algorithms on Words. Springer, New York (1985)

    MATH  Google Scholar 

  7. Clifford, P., Clifford, R., Iliopoulos, C.S.: Faster algorithms for delta, gamma-matching and related problems. In: Apostolico, et al. (eds.) [5], pp. 68–78 (2005)

    Google Scholar 

  8. Cormode, G., Muthukrishnan, S.: The string edit distance matching problem with moves. In: SODA, pp. 667–676 (2002)

    Google Scholar 

  9. Indyk, P.: Private communications (1999)

    Google Scholar 

  10. Indyk, P., Lewenstein, M., Lipsky, O., Porat, E.: Closest pair problems in very high dimensions. In: Díaz, J., Karhumäki, J., Lepistö, A., Sannella, D. (eds.) ICALP 2004. LNCS, vol. 3142, pp. 782–792. Springer, Heidelberg (2004)

    Chapter  Google Scholar 

  11. Indyk, P., Lipsky, O., Porat, E.: Approximate translation matching (2004) (manuscript)

    Google Scholar 

  12. Lipsky, O.: Efficient distance computations. Master’s thesis, Bar-Ilan University, Department of Computer Science (2003)

    Google Scholar 

  13. Maasoumi, E., Racine, J.: Entropy and predictability of stock market returns. Journal of Econometrics 107(1), 291–312, 3 (2002)

    Google Scholar 

  14. Malagnini, L., Herman, R.B., Di Bona, M.: Ground motion scaling in the apenines (italy). Bull. Seism. Soc. Am. 90, 1062–1081 (2000)

    Article  Google Scholar 

  15. Olson, M.V.: A time to sequence. Science 270, 394–396 (1995)

    Article  Google Scholar 

  16. Pentland, A.: Invited talk. nsf institutional infrastructure workshop (1992)

    Google Scholar 

  17. Shmulevich, I., Yli-Harja, O., Coyle, E., Povel, D., Lemstrom, K.: Perceptual issues in music pattern recognition - complexity of rhythm and key fining (1999)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2005 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Lipsky, O., Porat, E. (2005). L 1 Pattern Matching Lower Bound. In: Consens, M., Navarro, G. (eds) String Processing and Information Retrieval. SPIRE 2005. Lecture Notes in Computer Science, vol 3772. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11575832_36

Download citation

  • DOI: https://doi.org/10.1007/11575832_36

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-29740-6

  • Online ISBN: 978-3-540-32241-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics