Beating O(nm) in approximate LZW-compressed pattern matching

5Citations
Citations of this article
5Readers
Mendeley users who have this article in their library.
Get full text

Abstract

Given an LZW/LZ78 compressed text, we want to find an approximate occurrence of a given pattern of length m. The goal is to achieve time complexity depending on the size n of the compressed representation of the text instead of its length. We consider two specific definitions of approximate matching, namely the Hamming distance and the edit distance, and show how to achieve O(n√mk2 and O(n√mk3) running time, respectively, where k is the bound on the distance, both in linear space. Even for very small values of k, the best previously known solutions required Ω(nm) time. Our main contribution is applying a periodicity-based argument in a way that is computationally effective even if we operate on a compressed representation of a string, while the previous solutions were either based on a dynamic programming, or a black-box application of tools developed for uncompressed strings. © 2013 Springer-Verlag.

Cite

CITATION STYLE

APA

Gawrychowski, P., & Straszak, D. (2013). Beating O(nm) in approximate LZW-compressed pattern matching. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 8283 LNCS, pp. 78–88). https://doi.org/10.1007/978-3-642-45030-3_8

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free