在完全LZW压缩的模式匹配中解决松散的问题
Tying up the loose ends in fully LZW-compressed pattern matching
摘要:
我们考虑经典模式匹配问题的自然推广:给定模式p[1]的压缩表示,M]和文本t[1. N]的大小分别为m和n,p是否出现在t中?我们开发了一个最佳的线性时间解决方案的情况下,p和t都使用LZW方法压缩。这改善了以前已知的O((n+m)log(n +m))时间解决方案的Gasieniec和Rytter,并基本上关闭线的研究致力于研究LZW压缩的精确模式匹配。
英文摘要:
We consider a natural generalization of the classical pattern matching problem: given compressed representations of a pattern p[1..M] and a text t[1..N] of sizes m and n, respectively, does p occur in t? We develop an optimal linear time solution for the case when both p and t are compressed using the LZW method. This improves the previously known O((n+m)log(n+m)) time solution of Gasieniec and Rytter, and essentially closes the line of research devoted to studying LZW-compressed exact pattern matching.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。