arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2502.12000cs.DS
收藏

动态LZ77的复杂度为$\tildeΘ(n^{2/3})$

The Complexity of Dynamic LZ77 is $\tildeΘ(n^{2/3})$

University of Wrocław(弗罗茨瓦夫大学);Ariel University(阿里埃勒大学);Bar Ilan Univesity(巴伊兰大学)

Itai Boneh, Shay Golan, Matan Kraus

AI总结:

本文通过匹配上下界,完整刻画了动态LZ77分解的时间复杂度为$\tildeΘ(n^{2/3})$,提出支持编辑操作的高效数据结构,并证明在强指数时间假设下该复杂度最优。

摘要:

Lempel-Ziv 77(LZ77)分解是一种基础压缩方案,广泛应用于文本处理和数据压缩。在本工作中,我们研究维护动态字符串的LZ77分解的时间复杂度。通过建立匹配的上下界,我们完整刻画了该问题的复杂度。我们提出一种算法,能高效维护经历编辑操作(包括字符替换、插入和删除)的字符串$S$的LZ77分解。我们的数据结构可在$\tilde{O}(n)$时间内构建,其中$n$为初始字符串长度,并支持$\tilde{O}(n^{2/3})$时间的更新,这里$n$为$S$的当前长度。此外,我们证明除非强指数时间假设失败,否则没有任何算法能达到$O(n^{2/3-\varepsilon})$的更新时间。该下界即使在仅允许替换操作且仅维护LZ77分解长度的受限设置下也成立。

英文摘要:

The Lempel-Ziv 77 (LZ77) factorization is a fundamental compression scheme widely used in text processing and data compression. In this work, we investigate the time complexity of maintaining the LZ77 factorization of a dynamic string. By establishing matching upper and lower bounds, we fully characterize the complexity of this problem. We present an algorithm that efficiently maintains the LZ77 factorization of a string $S$ undergoing edit operations, including character substitutions, insertions, and deletions. Our data structure can be constructed in $\tilde{O}(n)$ time for an initial string of length $n$ and supports updates in $\tilde{O}(n^{2/3})$ time, where $n$ is the current length of $S$. Additionally, we prove that no algorithm can achieve an update time of $O(n^{2/3-\varepsilon})$ unless the Strong Exponential Time Hypothesis fails. This lower bound holds even in the restricted setting where only substitutions are allowed and only the length of the LZ77 factorization is maintained.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑