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

子字符串范围报告

Substring Range Reporting

Philip Bille, Inge Li Goertz

摘要:

我们重新审视各种字符串索引问题的范围报告功能,即位置限制的子串搜索,索引子串的差距,索引子串的间隔。我们得到以下主要结果。{itemize}我们将上述每个问题有效地归约到一个新的问题,我们称之为\emph{substring range reporting}。因此,我们统一了以前的工作,表明我们可以限制我们的注意力,而不是单独研究上述每个问题。我们展示了如何解决子串范围报告的最佳查询时间和小空间。结合我们的减少,这导致显着改善上述问题的时空权衡。特别是,对于每个问题,我们获得了最佳的时间查询和$O(n\log^{O(1)} n)$空间,其中$n$是索引字符串的长度的第一个解决方案。我们表明,我们的子串范围报告的技术推广到\emph{substring range counting}和\emph{substring range emptiness}的变种。我们还获得了这些问题的非平凡的时空权衡。{itemize}我们的子字符串范围报告的界限是基于后缀树和范围报告数据结构的新组合。这些减少是简单和通用的,并且可以应用于字符串索引与范围报告的其他组合。

英文摘要:

We revisit various string indexing problems with range reporting features, namely, position-restricted substring searching, indexing substrings with gaps, and indexing substrings with intervals. We obtain the following main results. {itemize} We give efficient reductions for each of the above problems to a new problem, which we call \emph{substring range reporting}. Hence, we unify the previous work by showing that we may restrict our attention to a single problem rather than studying each of the above problems individually. We show how to solve substring range reporting with optimal query time and little space. Combined with our reductions this leads to significantly improved time-space trade-offs for the above problems. In particular, for each problem we obtain the first solutions with optimal time query and $O(n\log^{O(1)} n)$ space, where $n$ is the length of the indexed string. We show that our techniques for substring range reporting generalize to \emph{substring range counting} and \emph{substring range emptiness} variants. We also obtain non-trivial time-space trade-offs for these problems. {itemize} Our bounds for substring range reporting are based on a novel combination of suffix trees and range reporting data structures. The reductions are simple and general and may apply to other combinations of string indexing with range reporting.

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

↑