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

常长字母表上空间有效的线性时间Lempel-Ziv分解

Space Efficient Linear Time Lempel-Ziv Factorization on Constant~Size~Alphabets

Keisuke Goto, Hideo Bannai

摘要:

我们提出了一种新的算法,用于计算线性时间内给定长度$N$的字符串的Lempel-Ziv分解(LZ 77),该算法仅利用工作空间的$N\log N + O(1)$位,即,单个整数数组,用于常量大小的整数字母表。这极大地改善了线性时间LZ 77分解(Kärkkäinen et al. CPM 2013)的最佳空间要求,它需要两个长度为$N$的整数数组。计算实验表明,尽管算法的复杂度增加,但算法的速度仅为以前最快的线性时间算法的两倍左右。

英文摘要:

We present a new algorithm for computing the Lempel-Ziv Factorization (LZ77) of a given string of length $N$ in linear time, that utilizes only $N\log N + O(1)$ bits of working space, i.e., a single integer array, for constant size integer alphabets. This greatly improves the previous best space requirement for linear time LZ77 factorization (Kärkkäinen et al. CPM 2013), which requires two integer arrays of length $N$. Computational experiments show that despite the added complexity of the algorithm, the speed of the algorithm is only around twice as slow as previous fastest linear time algorithms.

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

↑