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

小空间稀疏后缀树的构造

Sparse Suffix Tree Construction with Small Space

Philip Bille, Inge Li Gørtz, Tsvi Kopelowitz, Benjamin Sach, Hjalte Wedel Vildhøj

摘要:

我们考虑的问题,构建一个稀疏的后缀树(或后缀数组)的$b$后缀的一个给定的文本$T$的大小$n$,只使用$O(b)$字的空间在建设时间。打破这个问题的$Ω(nb)$时间的朴素界限已经占据了许多算法研究人员,因为一个不同的结构,(均匀间隔)稀疏后缀树,是由K{ä}rkk{ä}inen和Ukkonen在1996年提出的。虽然在均匀间隔稀疏后缀树中,所考虑的后缀必须在$T$中均匀间隔,但这里对后缀的位置没有约束。我们证明了稀疏后缀树可以在$O(n\log^2b)$时间内构造。为了实现这一点,我们开发了一种技术,这可能是独立的利益,允许有效地回答$b$最长的共同前缀查询的$T$的后缀,只使用$O(b)$空间。我们希望这种技术将被证明是有用的,在许多其他应用程序中,空间使用是一个问题。此外,额外的权衡之间的空间使用和建设时间。

英文摘要:

We consider the problem of constructing a sparse suffix tree (or suffix array) for $b$ suffixes of a given text $T$ of size $n$, using only $O(b)$ words of space during construction time. Breaking the naive bound of $Ω(nb)$ time for this problem has occupied many algorithmic researchers since a different structure, the (evenly spaced) sparse suffix tree, was introduced by K{ä}rkk{ä}inen and Ukkonen in 1996. While in the evenly spaced sparse suffix tree the suffixes considered must be evenly spaced in $T$, here there is no constraint on the locations of the suffixes. We show that the sparse suffix tree can be constructed in $O(n\log^2b)$ time. To achieve this we develop a technique, which may be of independent interest, that allows to efficiently answer $b$ longest common prefix queries on suffixes of $T$, using only $O(b)$ space. We expect that this technique will prove useful in many other applications in which space usage is a concern. Furthermore, additional tradeoffs between the space usage and the construction time are given.

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

↑