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

对高度压缩字符串的不一致敏感访问

Incongruity-sensitive access to highly compressed strings

Ferdinando Cicalese, Zsuzsanna Lipták, Travis Gagie, Gonzalo Navarro, Nicola Prezza, Cristian Urbina

AI总结:

本文提出了一种基于不一致性的高效访问高度压缩字符串中不可压缩子字符串的方法,通过构建特定数据结构实现快速访问。

摘要:

对高度压缩字符串的随机访问——例如用直线程序或Lempel-Ziv解析表示——是一个广为人知的话题。在最坏情况下,以强亚对数时间进行此类字符串的随机访问是不可能的,但以前的研究者已经展示了如何支持对特定字符及其邻域的更快访问。在本文中,我们探讨是否由于更好的压缩可能阻碍访问,我们可以支持对高度压缩字符串中相对不可压缩的子字符串的更快访问。我们首先展示,给定一个大小为g_rl的运行长度压缩直线程序或大小为L的块树,我们如何构建一个空间为O(g_rl)或O(L)的数据结构,分别支持对任意字符在包含该字符的最长重复子串长度的对数时间内进行访问。也就是说,字符相对于其周围字符在某种意义上的不一致程度越高,我们支持其访问的速度就越快。然后,我们证明了一个类似但更强大且复杂的结果,适用于解析,其中短语的来源不重叠更大的短语,查询时间也取决于我们必须从其来源复制的短语数量。

英文摘要:

Random access to highly compressed strings -- represented by straight-line programs or Lempel-Ziv parses, for example -- is a well-studied topic. Random access to such strings in strongly sublogarithmic time is impossible in the worst case, but previous authors have shown how to support faster access to specific characters and their neighbourhoods. In this paper we explore whether, since better compression can impede access, we can support faster access to relatively incompressible substrings of highly compressed strings. We first show how, given a run-length compressed straight-line program (RLSLP) of size $g_{rl}$ or a block tree of size $L$, we can build an $O (g_{rl})$-space or an $O (L)$-space data structure, respectively, that supports access to any character in time logarithmic in the length of the longest repeated substring containing that character. That is, the more incongruous a character is with respect to the characters around it in a certain sense, the faster we can support access to it. We then prove a similar but more powerful and sophisticated result for parsings in which phrases' sources do not overlap much larger phrases, with the query time depending also on the number of phrases we must copy from their sources to obtain the queried character.

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

↑