arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2401.04509cs.DScs.FL
收藏

线性大小后缀 Trie 与线性大小 CDAWG 的简化与改进

Linear-size Suffix Tries and Linear-size CDAWGs Simplified and Improved

Shunsuke Inenaga

AI总结:

本文提出 simLSTries 与 simLCDAWGs,移除多数 type-2 节点,将 LCDAWG 空间降至 $O(er(T))$,并支持在更弱的指针机模型上运行。

摘要:

线性大小后缀 trie(LSTries)[Crochemore 等人,TCS 2016] 是后缀树的一个版本,其边标签为单个字符,却仍能以最优时间执行模式匹配查询。LSTries 不显式存储输入文本,而是具有一些额外的非分支内部节点,称为 type-2 节点。这些扩展技术随后被用于线性大小紧凑有向无环词图(LCDAWGs)[Takagi 等人,SPIRE 2017],该结构可用 $O(el(T)+er(T))$ 空间存储(即不包含文本),其中 $el(T)$ 和 $er(T)$ 分别是输入文本字符串 $T$ 中最大重复的左扩展数和右扩展数。本文提出了上述索引结构的更简单替代方案,称为简化 LSTries(simLSTries)和简化 LCDAWGs(simLCDAWGs),其中大多数 type-2 节点被移除。特别地,我们的 simLCDAWGs 仅需 $O(er(T))$ 空间,并可在更弱的计算模型(即指针机模型)上运行。这与 [Belazzougui 和 Cunial,SPIRE 2017] 的 $O(er(T))$ 空间 CDAWG 表示形成对比,后者运行于字 RAM 模型。

英文摘要:

The linear-size suffix tries (LSTries) [Crochemore et al., TCS 2016] are a version of suffix trees in which the edge labels are single characters, yet are able to perform pattern matching queries in optimal time. Instead of explicitly storing the input text, LSTries have some extra non-branching internal nodes called type-2 nodes. The extended techniques are then used in the linear-size compact directed acyclic word graphs (LCDAWGs) [Takagi et al., SPIRE 2017], which can be stored with $O(el(T)+er(T))$ space (i.e. without the text), where $el(T)$ and $er(T)$ are the numbers of left- and right-extensions of the maximal repeats in the input text string $T$, respectively. In this paper, we present simpler alternatives to the aforementioned indexing structures, called the simplified LSTries (simLSTries) and the simplified LCDAWGs (simLCDAWGs), in which most of the type-2 nodes are removed. In particular, our simLCDAWGs require only $O(er(T))$ space and work on a weaker model of computation (i.e. the pointer machine model). This contrasts the $O(er(T))$-space CDAWG representation of [Belazzougui and Cunial, SPIRE 2017], which works on the word RAM model.

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

↑