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

小空间中文法压缩字符串的最优时间随机存取

Optimal Time Random Access to Grammar-Compressed Strings in Small Space

Patrick Hagge Cording

摘要:

压缩字符串的随机访问问题是建立一个数据结构,有效地支持访问字符的位置$i$的字符在压缩形式。给定大小为$n$的文法压缩大小为$N$的字符串,我们提出了一种使用$O(nΔ\log_Δ\frac N n \log N)$位空间的数据结构,该数据结构支持$Δ\leq \log^{O(1)} N$在$O(\log_ΔN)$时间内访问位置$i$。查询时间对于多项式可压缩字符串是最优的,即,当$n=O(N^{1-ε})$。

英文摘要:

The random access problem for compressed strings is to build a data structure that efficiently supports accessing the character in position $i$ of a string given in compressed form. Given a grammar of size $n$ compressing a string of size $N$, we present a data structure using $O(nΔ\log_Δ\frac N n \log N)$ bits of space that supports accessing position $i$ in $O(\log_ΔN)$ time for $Δ\leq \log^{O(1)} N$. The query time is optimal for polynomially compressible strings, i.e., when $n=O(N^{1-ε})$.

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

↑