JOURNAL ARTICLE

Approximating approximate pattern matching

Studený, JanUznanski, Przemyslaw

Year: 2019 Journal:   Repository for Publications and Research Data (ETH Zurich)   Publisher: ETH Zurich

Abstract

Given a text T of length n and a pattern P of length m, the approximate pattern matching problem asks for computation of a particular distance function between P and every m-substring of T. We consider a (1 +/- epsilon) multiplicative approximation variant of this problem, for l_p distance function. In this paper, we describe two (1+epsilon)-approximate algorithms with a runtime of O~(n/epsilon) for all (constant) non-negative values of p. For constant p >= 1 we show a deterministic (1+epsilon)-approximation algorithm. Previously, such run time was known only for the case of l_1 distance, by Gawrychowski and Uznanski [ICALP 2018] and only with a randomized algorithm. For constant 0 <= p <= 1 we show a randomized algorithm for the l_p, thereby providing a smooth tradeoff between algorithms of Kopelowitz and Porat [FOCS 2015, SOSA 2018] for Hamming distance (case of p=0) and of Gawrychowski and Uznanski for l_1 distance.

Keywords:
Hamming distance Constant (computer programming) Randomized algorithm Pattern matching Multiplicative function Function (biology) Matching (statistics) Computation

Metrics

0
Cited By
0.00
FWCI (Field Weighted Citation Impact)
0
Refs
0.37
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Topics

Algorithms and Data Compression
Physical Sciences →  Computer Science →  Artificial Intelligence
Complexity and Algorithms in Graphs
Physical Sciences →  Computer Science →  Computational Theory and Mathematics
Genome Rearrangement Algorithms
Life Sciences →  Biochemistry, Genetics and Molecular Biology →  Genetics

Related Documents

JOURNAL ARTICLE

Approximating Approximate Pattern Matching

Jan StudenýPrzemysław Uznański

Journal:   Leibniz-Zentrum für Informatik (Schloss Dagstuhl) Year: 2019
BOOK-CHAPTER

Approximate pattern matching

WORLD SCIENTIFIC eBooks Year: 2002 Pages: 183-197
BOOK-CHAPTER

Approximate Pattern Matching Algorithm

Petr HurtíkPetra HoďákováIrina Perfilieva

Communications in computer and information science Year: 2016 Pages: 577-587
JOURNAL ARTICLE

Approximate tree pattern matching

Dennis ShashaKaizhong Zhang

Year: 1997 Vol: 3 (4)Pages: 341-371
BOOK-CHAPTER

Approximate Cartesian Tree Pattern Matching

Sungmin KimYo-Sub Han

Lecture notes in computer science Year: 2024 Pages: 189-202
© 2026 ScienceGate Book Chapters — All rights reserved.