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

高效的全压缩序列表示

Efficient Fully-Compressed Sequence Representations

Jeremy Barbay, Francisco Claude, Travis Gagie, Gonzalo Navarro, Yakov Nekrich

摘要:

我们提出了一种数据结构,存储序列$s[1..n]$在字母表$[1..σ]$在$n\Ho(s) + o(n)(\Ho(s){+}1)$位,其中$\Ho(s)$是零阶熵的$s$。此结构支持查询\access、\rank \和\select,它们是许多其他压缩数据结构的基本构建块,在最坏情况下为时间$\Oh{\lg\lgσ}$和平均时间$\Oh{\lg \Ho(s)}$。最坏情况下的复杂度与以前的最佳结果相匹配,但这些结果是通过使用$n\Ho(s)+o(n\lgσ)$位的数据结构实现的。在高度可压缩的序列上,冗余的$o(n\lgσ)$位与编码数据的$n\Ho(s)$位相比可能是重要的。相反,我们的表示也压缩了冗余。此外,我们的平均情况复杂性是前所未有的。我们的技术是基于分区的字母相似的频率的字符。然后,对应于每个组的子序列可以使用快速未压缩表示进行编码,而不会损害整体压缩比,即使在冗余中。该结果还改进了其他几种数据结构的最佳当前压缩表示。例如,我们实现了$(i)$压缩冗余,保留最佳的时间复杂度,为最小的现有全文自索引; $(ii)$压缩排列$π$与时间为$π()$和$\pii()$改进为对数对数;和$(iii)$的第一个压缩表示的动态集合的不相交集。我们还指出了倒排索引,后缀数组,二进制关系和数据压缩器的各种应用。...

英文摘要:

We present a data structure that stores a sequence $s[1..n]$ over alphabet $[1..σ]$ in $n\Ho(s) + o(n)(\Ho(s){+}1)$ bits, where $\Ho(s)$ is the zero-order entropy of $s$. This structure supports the queries \access, \rank\ and \select, which are fundamental building blocks for many other compressed data structures, in worst-case time $\Oh{\lg\lgσ}$ and average time $\Oh{\lg \Ho(s)}$. The worst-case complexity matches the best previous results, yet these had been achieved with data structures using $n\Ho(s)+o(n\lgσ)$ bits. On highly compressible sequences the $o(n\lgσ)$ bits of the redundancy may be significant compared to the the $n\Ho(s)$ bits that encode the data. Our representation, instead, compresses the redundancy as well. Moreover, our average-case complexity is unprecedented. Our technique is based on partitioning the alphabet into characters of similar frequency. The subsequence corresponding to each group can then be encoded using fast uncompressed representations without harming the overall compression ratios, even in the redundancy. The result also improves upon the best current compressed representations of several other data structures. For example, we achieve $(i)$ compressed redundancy, retaining the best time complexities, for the smallest existing full-text self-indexes; $(ii)$ compressed permutations $π$ with times for $π()$ and $\pii()$ improved to loglogarithmic; and $(iii)$ the first compressed representation of dynamic collections of disjoint sets. We also point out various applications to inverted indexes, suffix arrays, binary relations, and data compressors. ...

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

↑