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

$δ$-最优空间下的近最优搜索时间,反之亦然

Near-Optimal Search Time in $δ$-Optimal Space, and Vice Versa

Tomasz Kociumaka, Gonzalo Navarro, Francisco Olivares

AI总结:

本文针对可重复序列搜索中$δ$-最优空间下能否实现近最优搜索时间的开放问题,结合两种局部一致解析技术,在$δ$-最优空间下达成近最优搜索与计数时间,并进一步给出空间小幅增加时的最优时间结果。

摘要:

近期提出的两个关于可重复序列压缩性的下界$δ\le γ$受到了广泛关注。已有研究表明,大小为$σ$的字母表上长度为$n$的字符串$S$,可以在最优的$O(δ\log\tfrac{n\log σ}{δ\log n})$空间内表示;进一步地,在该空间下,对于任意长度为$m$的模式串,可在$O(m\log n + occ \log^εn)$时间内找到其在$S$中的所有$occ$次出现,其中$ε$为任意正常数。而近最优的搜索时间$O(m+({occ+1})\log^εn)$仅能在$O(γ\log\frac{n}γ)$空间下实现。这两项结果均基于差异显著的局部一致解析技术。在$δ$-最优空间内能否支持更优的搜索时间,这一问题此前仍未解决。本文证明,两种技术确实可以结合,从而兼得两者的优势:在$O(δ\log\tfrac{n\log σ}{δ\log n})$空间下实现$O(m+({occ+1})\log^εn)$的搜索时间。此外,在相同空间下,出现次数的计算可以在$O(m+\log^{2+ε}n)$时间内完成。本文还表明,在该空间基础上增加一个亚对数因子,即可实现最优的$O(m+occ)$搜索时间;而增加一个对数因子,则可实现最优的$O(m)$计数时间。

英文摘要:

Two recent lower bounds on the compressibility of repetitive sequences, $δ\le γ$, have received much attention. It has been shown that a length-$n$ string $S$ over an alphabet of size $σ$ can be represented within the optimal $O(δ\log\tfrac{n\log σ}{δ\log n})$ space, and further, that within that space one can find all the $occ$ occurrences in $S$ of any length-$m$ pattern in time $O(m\log n + occ \log^εn)$ for any constant $ε>0$. Instead, the near-optimal search time $O(m+({occ+1})\log^εn)$ has been achieved only within $O(γ\log\frac{n}γ)$ space. Both results are based on considerably different locally consistent parsing techniques. The question of whether the better search time could be supported within the $δ$-optimal space remained open. In this paper, we prove that both techniques can indeed be combined to obtain the best of both worlds: $O(m+({occ+1})\log^εn)$ search time within $O(δ\log\tfrac{n\log σ}{δ\log n})$ space. Moreover, the number of occurrences can be computed in $O(m+\log^{2+ε}n)$ time within $O(δ\log\tfrac{n\log σ}{δ\log n})$ space. We also show that an extra sublogarithmic factor on top of this space enables optimal $O(m+occ)$ search time, whereas an extra logarithmic factor enables optimal $O(m)$ counting time.

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

↑