Title :
Almost-optimal fully LZW-compressed pattern matching
Author :
Gasieniec, Leszek ; Rytter, Wojciech
Author_Institution :
Dept. of Comput. Sci., Liverpool Univ., UK
Abstract :
Given two strings: pattern P and text T of lengths |P|=M and |T|=N, a string matching problem is to find all occurrences of pattern P in text T. A fully compressed string matching problem is the string matching problem with input strings P and T given in compressed forms p and t respectively, where |p|=m and |t|=n. We present first, almost-optimal, string matching algorithms for LZW-compressed strings running in: (1) O((n+m)log(n+m)) time on a single processor machine; and (2) O˜(n+m) work on a (n+m)-processor PRAM. The techniques used can be used in design of efficient algorithms for a wide range of the most typical string problems, in the compressed LZW setting, including: computing a period of a word, finding repetitions, symmetries, counting subwords, and multi-pattern matching
Keywords :
computational complexity; data compression; optimisation; string matching; text analysis; LZW compression; PRAM; optimality; pattern matching; running time; string matching; text; Algorithm design and analysis; Buildings; Computation theory; Computer science; Impedance matching; Informatics; Pattern matching; Phase change random access memory; Polynomials;
Conference_Titel :
Data Compression Conference, 1999. Proceedings. DCC '99
Conference_Location :
Snowbird, UT
Print_ISBN :
0-7695-0096-X
DOI :
10.1109/DCC.1999.755681