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

极大重复的左右扩展之间的关系

Relating Left and Right Extensions of Maximal Repeats

Shunsuke Inenaga, Dmitry Kosolobov

AI总结:

本文研究字符串极大重复左右扩展数量之比,证明其最坏情况下为 Θ(√n),并给出依赖字母表大小的渐近紧界。

摘要:

字符串 $T$ 的紧凑有向无环词图(CDAWG)是一种占用 $O(\mathsf{e})$ 空间的索引,其中 $\mathsf{e}$ 是 $T$ 中极大重复的右扩展数量。对于高度重复的数据集,度量 $\mathsf{e}$ 通常相对于 $T$ 的长度 $n$ 较小,因此 CDAWG 可作为一种压缩索引。与其他可压缩性度量(如 LZ77、字符串吸引子、BWT 运行等)不同,$\mathsf{e}$ 在反转操作下非常不稳定:反转字符串 $\overset{{}_{\leftarrow}}{T} = T[n] \cdots T[2] T[1]$ 的 CDAWG 大小为 $O(\overset{{}_{\leftarrow}}{\mathsf{e}})$,其中 $\overset{{}_{\leftarrow}}{\mathsf{e}}$ 是 $T$ 中极大重复的左扩展数量,并且存在字符串 $T$ 使得 $\frac{\overset{{}_{\leftarrow}}{\mathsf{e}}}{\mathsf{e}} \in Ω(\sqrt{n})$。在本文中,我们证明该下界是紧的:$\frac{\overset{{}_{\leftarrow}}{\mathsf{e}}}{\mathsf{e}} \in O(\sqrt{n})$。此外,给定字母表大小 $σ$,我们建立了依赖于字母表的界 $\frac{\overset{{}_{\leftarrow}}{\mathsf{e}}}{\mathsf{e}} \le \min\{\frac{2n}{σ}, σ\}$,并证明该界是渐近紧的。

英文摘要:

The compact directed acyclic word graph (CDAWG) of a string $T$ is an index occupying $O(\mathsf{e})$ space, where $\mathsf{e}$ is the number of right extensions of maximal repeats in $T$. For highly repetitive datasets, the measure $\mathsf{e}$ typically is small compared to the length $n$ of $T$ and, thus, the CDAWG serves as a compressed index. Unlike other compressibility measures (as LZ77, string attractors, BWT runs, etc.), $\mathsf{e}$ is very unstable with respect to reversals: the CDAWG of the reversed string $\overset{{}_{\leftarrow}}{T} = T[n] \cdots T[2] T[1]$ has size $O(\overset{{}_{\leftarrow}}{\mathsf{e}})$, where $\overset{{}_{\leftarrow}}{\mathsf{e}}$ is the number of left extensions of maximal repeats in $T$, and there are strings $T$ with $\frac{\overset{{}_{\leftarrow}}{\mathsf{e}}}{\mathsf{e}} \in Ω(\sqrt{n})$. In this note, we prove that this lower bound is tight: $\frac{\overset{{}_{\leftarrow}}{\mathsf{e}}}{\mathsf{e}} \in O(\sqrt{n})$. Furthermore, given the alphabet size $σ$, we establish the alphabet-dependent bound $\frac{\overset{{}_{\leftarrow}}{\mathsf{e}}}{\mathsf{e}} \le \min\{\frac{2n}σ, σ\}$ and we show that it is asymptotically tight.

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

↑