Back to Search Start Over

A black box for online approximate pattern matching

Authors :
Clifford, Raphaël
Efremenko, Klim
Porat, Benny
Porat, Ely
Source :
Information & Computation. Apr2011, Vol. 209 Issue 4, p731-736. 6p.
Publication Year :
2011

Abstract

Abstract: We present a deterministic black box solution for online approximate matching. Given a pattern of length m and a streaming text of length n that arrives one character at a time, the task is to report the distance between the pattern and a sliding window of the text as soon as the new character arrives. Our solution requires time for each input character, where is the total running time of the best offline algorithm. The types of approximation that are supported include exact matching with wildcards, matching under the Hamming norm, approximating the Hamming norm, k-mismatch and numerical measures such as the and norms. For these examples, the resulting online algorithms take , , , , and time per character, respectively. The space overhead is linear in the pattern size, which we show is optimal for any deterministic algorithm. [Copyright &y& Elsevier]

Details

Language :
English
ISSN :
08905401
Volume :
209
Issue :
4
Database :
Academic Search Index
Journal :
Information & Computation
Publication Type :
Academic Journal
Accession number :
58755966
Full Text :
https://doi.org/10.1016/j.ic.2010.12.007