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
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
References
Abrahamson, K.R.: Generalized string matching. SIAM J. Comput. 16(6), 1039–1051 (1987)
Amir, A., Farach, M.: Efficient 2-dimensional approximate matching of half-rectangular figures. Information and Computation 118(1), 1–11 (1995)
Amir, A., Lewenstein, M., Porat, E.: Faster algorithms for string matching with k mismatches. J. Algorithms 50(2), 257–275 (2004)
Amir, A., Lipsky, O., Porat, E., Umanski, J.: Approximate matching in the l1 metric. In: Apostolico, et al. (eds.) [5], pp. 91–103 (2005)
Apostolico, A., Crochemore, M., Park, K. (eds.): CPM 2005. LNCS, vol. 3537. Springer, Heidelberg (2005)
Apostolico, A., Galil, Z. (eds.): Combinatorial Algorithms on Words. Springer, New York (1985)
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)
Cormode, G., Muthukrishnan, S.: The string edit distance matching problem with moves. In: SODA, pp. 667–676 (2002)
Indyk, P.: Private communications (1999)
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)
Indyk, P., Lipsky, O., Porat, E.: Approximate translation matching (2004) (manuscript)
Lipsky, O.: Efficient distance computations. Master’s thesis, Bar-Ilan University, Department of Computer Science (2003)
Maasoumi, E., Racine, J.: Entropy and predictability of stock market returns. Journal of Econometrics 107(1), 291–312, 3 (2002)
Malagnini, L., Herman, R.B., Di Bona, M.: Ground motion scaling in the apenines (italy). Bull. Seism. Soc. Am. 90, 1062–1081 (2000)
Olson, M.V.: A time to sequence. Science 270, 394–396 (1995)
Pentland, A.: Invited talk. nsf institutional infrastructure workshop (1992)
Shmulevich, I., Yli-Harja, O., Coyle, E., Povel, D., Lemstrom, K.: Perceptual issues in music pattern recognition - complexity of rhythm and key fining (1999)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights 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)