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

具有有效构造的确定性次线性空间LCE数据结构

Deterministic sub-linear space LCE data structures with efficient construction

Yuka Tanimura, Tomohiro I, Hideo Bannai, Shunsuke Inenaga, Simon J. Puglisi, Masayuki Takeda

摘要:

给定$n$符号的串$S$,最长公共扩展查询$\mathsf{LCE}(i,j)$询问$S$的第$i$和第$j$后缀的最长公共前缀的长度。LCE查询在字符串处理中有几个重要的应用,也许最值得注意的是后缀排序。最近,Bille等人(J. Discrete Algorithms 25:42-50,2014,Proc. CPM 2015:65-76)描述了用于回答LCE查询的若干数据结构,其提供了数据结构大小与查询时间之间的空间-时间权衡。特别地,对于参数$1 \leq τ\leq n$,它们的最佳确定性解决方案是大小为$O(n/τ)$的数据结构,其允许在$O(τ)$时间内回答LCE查询。然而,在$n$中,其数据结构的所有确定性版本的构造时间是二次的。在本文中,我们提出了一个确定性的解决方案,实现了类似的时空权衡$O(τ\min\{\logτ,\log\frac{n}τ\})$查询时间使用$O(n/τ)$空间,但显着提高建设时间$O(nτ)$。

英文摘要:

Given a string $S$ of $n$ symbols, a longest common extension query $\mathsf{LCE}(i,j)$ asks for the length of the longest common prefix of the $i$th and $j$th suffixes of $S$. LCE queries have several important applications in string processing, perhaps most notably to suffix sorting. Recently, Bille et al. (J. Discrete Algorithms 25:42-50, 2014, Proc. CPM 2015: 65-76) described several data structures for answering LCE queries that offers a space-time trade-off between data structure size and query time. In particular, for a parameter $1 \leq τ\leq n$, their best deterministic solution is a data structure of size $O(n/τ)$ which allows LCE queries to be answered in $O(τ)$ time. However, the construction time for all deterministic versions of their data structure is quadratic in $n$. In this paper, we propose a deterministic solution that achieves a similar space-time trade-off of $O(τ\min\{\logτ,\log\frac{n}τ\})$ query time using $O(n/τ)$ space, but significantly improve the construction time to $O(nτ)$.

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

↑