arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.03008cs.DS
收藏

更快且更简单的在线/滑动最右 Lempel-Ziv 分解

Faster and simpler online/sliding rightmost Lempel-Ziv factorizations

Wataru Sumiyoshi, Takuya Mieno, Shunsuke Inenaga

AI总结:

本文针对在线和滑动模型中的最右 Lempel-Ziv 分解问题,提出基于 BP-linked trees 和改进动态 RmQ/RMQ 数据结构的 O(n log n/log log n) 时间算法,优于此前 O(n log n) 时间的最优结果。

摘要:

我们处理在在线/滑动模型中计算 Lempel-Ziv 分解的最右变体的问题。该问题此前的最佳界限是 O(n log n) 时间和 O(n) 空间,其中在线模型的结果由 Amir 等人 [IPL 2002] 给出,滑动模型的结果由 Larsson [CPM 2014] 给出。本文提出了针对在线/滑动两种模型的更快的 O(n log n/log log n) 时间解法。我们的算法建立在一个名为 BP-linked trees 的简单数据结构之上,并使用了动态整数列表上范围最小/最大查询(RmQ/RMQ)数据结构的略微改进版本。我们还展示了算法的其他应用。

英文摘要:

We tackle the problems of computing the rightmost variant of the Lempel-Ziv factorizations in the online/sliding model. Previous best bounds for this problem are O(n log n) time with O(n) space, due to Amir et al. [IPL 2002] for the online model, and due to Larsson [CPM 2014] for the sliding model. In this paper, we present faster O(n log n/log log n)-time solutions to both of the online/sliding models. Our algorithms are built on a simple data structure named BP-linked trees, and on a slightly improved version of the range minimum/maximum query (RmQ/RMQ) data structure on a dynamic list of integers. We also present other applications of our algorithms.

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

↑