arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.01174cs.DScs.CCcs.ITmath.IT
收藏

后缀树中任意内部节点下任意字符串的对数搜索时间线性索引

Linear Index for Logarithmic Search-Time for any String under any Internal Node in Suffix Trees

Anas Al-okaily

AI总结:

本文提出一种构建线性索引的算法,使得在后缀树中任意内部节点下搜索任意长度模式的时间复杂度降至 O(logn)。

摘要:

后缀树是解决字符串问题的关键且高效的数据结构。后缀树是一个压缩字典树,包含长度为 $n$ 的给定文本的所有后缀,且具有线性构造代价。在这项工作中,我们提出了一种构建线性索引的算法,该索引允许在 O(logn) 时间内找到后缀树中任意内部节点下的任意长度模式。

英文摘要:

Suffix trees are key and efficient data structure for solving string problems. A suffix tree is a compressed trie containing all the suffixes of a given text of length $n$ with a linear construction cost. In this work, we introduce an algorithm to build a linear index that allows finding a pattern of any length under any internal node in a suffix tree in O(logn) time.

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

↑