arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1301.2495cs.DS
收藏

一个简单的在线竞争适应Lempel-Ziv压缩与有效的随机访问支持

A simple online competitive adaptation of Lempel-Ziv compression with efficient random access support

Akashnil Dutta, Reut Levi, Dana Ron, Ronitt Rubinfeld

摘要:

我们提出了一个简单的适应Lempel Ziv 78'(LZ 78)压缩方案({ \em IEEE Transactions on信息论,1978}),支持有效的随机访问输入字符串。即,给定对压缩串的查询访问,可以有效地恢复输入串的任何符号。压缩算法被给定为参数$\eps >0$的输入,并且以非常高的概率将压缩串的长度增加至多因子$(1+\eps)$。访问时间为预期的$O(\log n + 1/\eps^2)$,以及具有高概率的$O(\log n/\eps^2)$。该方案依赖于稀疏传递闭包空间。输入字符串的任何(连续的)子字符串都可以在子字符串长度的运行时间内以额外的附加成本进行检索。我们还正式建立修改LZ 78的必要性,以便允许有效的随机接入。具体来说,我们构建了一个家庭的字符串,$Ω(n/\log n)$查询的LZ 78压缩字符串是必需的,以恢复输入字符串中的单个符号。所提出的方案的主要优点是,它保留了LZ 78的在线性质和简单性,并且对于{ \em every}输入字符串,压缩字符串的长度仅比通过运行LZ 78获得的长度大一个小因子。

英文摘要:

We present a simple adaptation of the Lempel Ziv 78' (LZ78) compression scheme ({\em IEEE Transactions on Information Theory, 1978}) that supports efficient random access to the input string. Namely, given query access to the compressed string, it is possible to efficiently recover any symbol of the input string. The compression algorithm is given as input a parameter $\eps >0$, and with very high probability increases the length of the compressed string by at most a factor of $(1+\eps)$. The access time is $O(\log n + 1/\eps^2)$ in expectation, and $O(\log n/\eps^2)$ with high probability. The scheme relies on sparse transitive-closure spanners. Any (consecutive) substring of the input string can be retrieved at an additional additive cost in the running time of the length of the substring. We also formally establish the necessity of modifying LZ78 so as to allow efficient random access. Specifically, we construct a family of strings for which $Ω(n/\log n)$ queries to the LZ78-compressed string are required in order to recover a single symbol in the input string. The main benefit of the proposed scheme is that it preserves the online nature and simplicity of LZ78, and that for {\em every} input string, the length of the compressed string is only a small factor larger than that obtained by running LZ78.

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

↑