Approximating Approximate Pattern Matching
Abstract
Given a text of length and a pattern of length , the approximate pattern matching problem asks for computation of a particular \emph{distance} function between and every -substring of . We consider a multiplicative approximation variant of this problem, for distance function. In this paper, we describe two -approximate algorithms with a runtime of for all (constant) non-negative values of . For constant we show a deterministic -approximation algorithm. Previously, such run time was known only for the case of distance, by Gawrychowski and Uzna\'nski [ICALP 2018] and only with a randomized algorithm. For constant we show a randomized algorithm for the , thereby providing a smooth tradeoff between algorithms of Kopelowitz and Porat [FOCS~2015, SOSA~2018] for Hamming distance (case of ) and of Gawrychowski and Uzna\'nski for distance.
Cite
@article{arxiv.1810.01676,
title = {Approximating Approximate Pattern Matching},
author = {Jan Studený and Przemysław Uznański},
journal= {arXiv preprint arXiv:1810.01676},
year = {2019}
}