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

计算重复文本集合上的MEMs及其相关变体

Computing MEMs and Relatives on Repetitive Text Collections

Gonzalo Navarro

AI总结:

针对重复文本集合,提出基于游程长度上下文无关文法与局部一致文法的最优尺寸数据结构,实现高效计算MEMs及相关变体,时间复杂度显著降低。

摘要:

我们考虑在大型重复文本集合 $T[1 .. n]$ 上计算给定模式 $P[1 .. m]$ 的最大精确匹配(MEMs)的问题,该文本集合被表示为一个(希望更小的)游程长度上下文无关文法,其大小为 $g_{rl}$。我们证明该问题可以在时间复杂度 $O(m^2 \log^\epsilon n)$ 内解决(对于任意常数 $\epsilon > 0$),使用的数据结构大小为 $O(g_{rl})$。进一步地,在大小为 $O(\delta \log\frac{n}{\delta})$ 的局部一致文法上,时间复杂度降低至 $O(m \log m (\log m + \log^\epsilon n))$。值 $\delta$ 是 $T$ 的子串复杂度的函数,且 $\Omega(\delta \log\frac{n}{\delta})$ 是重复文本 $T$ 可压缩性的紧下界,因此我们的结构在 $n$ 和 $\delta$ 方面具有最优大小。我们将结果扩展到若干相关问题,例如寻找 $k$-MEMs、MUMs、稀有 MEMs 及其应用。

英文摘要:

We consider the problem of computing the Maximal Exact Matches (MEMs) of a given pattern $P[1 .. m]$ on a large repetitive text collection $T[1 .. n]$, which is represented as a (hopefully much smaller) run-length context-free grammar of size $g_{rl}$. We show that the problem can be solved in time $O(m^2 \log^εn)$, for any constant $ε> 0$, on a data structure of size $O(g_{rl})$. Further, on a locally consistent grammar of size $O(δ\log\frac{n}δ)$, the time decreases to $O(m\log m(\log m + \log^εn))$. The value $δ$ is a function of the substring complexity of $T$ and $Ω(δ\log\frac{n}δ)$ is a tight lower bound on the compressibility of repetitive texts $T$, so our structure has optimal size in terms of $n$ and $δ$. We extend our results to several related problems, such as finding $k$-MEMs, MUMs, rare MEMs, and applications.

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

↑