Approximate pattern matching in LZ77-compressed texts

https://doi.org/10.1016/j.jda.2014.10.003Get rights and content
Under an Elsevier user license
open archive

Abstract

Suppose we want to support approximate pattern matching in a text T[1..n] whose LZ77 parse consists of z phrases. In this paper we show how, given that parse, we can preprocess T in O(zlogn) time and space such that later, given a pattern P[1..m] and an edit distance k, we can perform approximate pattern matching in O(zmin(mk,m+k4)+occ) time and O(zlogn+m+occ) space, where occ is the size of the output.

Keywords

Compressed approximate pattern matching
LZ77

Cited by (0)

A preliminary version of this paper [8] was presented at the 22nd International Symposium on Algorithms and Computation (ISAAC '11). Part of this research was done while the first author was at Aalto University, the second author was at the University of Wrocław and the third author was at King's College London.

1

Supported by the Academy of Finland grant 268324.

2

Supported by NCN grant 2011/01/D/ST6/07164, 2011–2014.

3

Supported by the Academy of Finland grant 258308.