Approximating Approximate Pattern Matching

10/03/2018
by   Jan Studený, et al.
0

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±ε) multiplicative approximation variant of this problem, for ℓ_p distance function. In this paper, we describe two (1+ε)-approximate algorithms with a runtime of O(n/ε) for all (constant) non-negative values of p. For p > 1 we show a deterministic (1+ε)-approximation algorithm. Previously, such run time was known only for the case of p = 1 (ℓ_1 distances), by Gawrychowski and Uznański [ICALP 2018] and only with a randomized algorithm. For 0 < p < 1 we show a randomized algorithm for the (ℓ_p)^p distance (the p-th power of the ℓ_p distance), 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 Uznański for ℓ_1 distance.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/09/2020

Approximating Text-to-Pattern Distance via Dimensionality Reduction

Text-to-pattern distance is a fundamental problem in string matching, wh...
research
01/28/2018

Faster Approximate(d) Text-to-Pattern L1 Distance

The problem of finding distance between pattern of length m and text of ...
research
09/07/2022

Nonoverlapping (delta, gamma)-approximate pattern matching

Pattern matching can be used to calculate the support of patterns, and i...
research
01/01/2020

Approximating Text-to-Pattern Hamming Distances

We revisit a fundamental problem in string matching: given a pattern of ...
research
11/04/2022

Evaluating a distance function

Computing the distance function to some surface or line is a problem tha...
research
07/09/2019

L_p Pattern Matching in a Stream

We consider the problem of computing distance between a pattern of lengt...
research
08/31/2022

Pattern matching under DTW distance

In this work, we consider the problem of pattern matching under the dyna...

Please sign up or login with your details

Forgot password? Click here to reset