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

Suffixient Sets(后缀充分集)

Suffixient Sets

Lore Depuydt, Travis Gagie, Ben Langmead, Giovanni Manzini, Nicola Prezza

AI总结:

本文定义了文本后缀树的后缀充分集,证明其大小上限与逆序文本BWT游程数相关,并基于直线型程序构建了支持高效查找最大精确匹配的索引。

摘要:

我们将文本 $T [1..n]$ 的 suffixient set(后缀充分集)定义为位置 1 到 $n$ 之间的集合 $S$,使得对于 $T$ 的后缀树中从节点 $u$ 下降到节点 $v$ 的任意边,都存在一个元素 $s \in S$,使得 $u$ 的路径标签是 $T [1..s - 1]$ 的后缀,且 $T [s]$ 是 $(u, v)$ 边标签的第一个字符。我们首先证明存在一个基数至多为 $2 \bar{r}$ 的后缀充分集,其中 $\bar{r}$ 是 $T$ 的逆序文本的 Burrows-Wheeler Transform(BWT)中的游程数量。然后我们证明,给定一个具有 $g$ 条规则的 $T$ 的直线型程序,我们可以构建一个 $O (\bar{r} + g)$ 空间的索引;利用该索引,给定模式 $P [1..m]$,我们可以在 $O (m \log (σ) / \log n + d \log n)$ 时间内找到 $P$ 相对于 $T$ 的最大精确匹配(MEMs),其中 $σ$ 是字母表大小,$d$ 是在寻找这些 MEMs 时我们在 $T$ 的后缀树中完全或部分下降边的次数。

英文摘要:

We define a suffixient set for a text $T [1..n]$ to be a set $S$ of positions between 1 and $n$ such that, for any edge descending from a node $u$ to a node $v$ in the suffix tree of $T$, there is an element $s \in S$ such that $u$'s path label is a suffix of $T [1..s - 1]$ and $T [s]$ is the first character of $(u, v)$'s edge label. We first show there is a suffixient set of cardinality at most $2 \bar{r}$, where $\bar{r}$ is the number of runs in the Burrows-Wheeler Transform of the reverse of $T$. We then show that, given a straight-line program for $T$ with $g$ rules, we can build an $O (\bar{r} + g)$-space index with which, given a pattern $P [1..m]$, we can find the maximal exact matches (MEMs) of $P$ with respect to $T$ in $O (m \log (σ) / \log n + d \log n)$ time, where $σ$ is the size of the alphabet and $d$ is the number of times we would fully or partially descend edges in the suffix tree of $T$ while finding those MEMs.

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

↑