TY - GEN
T1 - Almost optimal fully LZW-compressed pattern matching
AU - Gasieniec, Leszek
AU - Rytter, Wojciech
PY - 1999/1/1
Y1 - 1999/1/1
N2 - 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. qq(n + m) work on a (n + m)-processor PRAM. Techniques used in our paper 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.
AB - 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. qq(n + m) work on a (n + m)-processor PRAM. Techniques used in our paper 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.
UR - http://www.scopus.com/inward/record.url?scp=0032607205&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=0032607205&partnerID=8YFLogxK
M3 - Conference contribution
AN - SCOPUS:0032607205
SN - 076950096X
T3 - Data Compression Conference Proceedings
SP - 316
EP - 325
BT - Data Compression Conference Proceedings
PB - Institute of Electrical and Electronics Engineers Inc.
T2 - Proceedings of the 1999 Data Compression Conference, DCC-99
Y2 - 29 March 1999 through 31 March 1999
ER -