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

是后缀树还是不是后缀树?

A Suffix Tree Or Not A Suffix Tree?

Tatiana Starikovskaya, Hjalte Wedel Vildhøj

摘要:

本文研究后缀树的结构。给定$n$节点上的无标号树$τ$及其内部节点的后缀链接,我们提出问题“$τ$是后缀树吗?“,即,是否存在一个字符串$S$,其后缀树与$τ$具有相同的拓扑结构?我们对$S$没有任何限制,特别是我们不要求$S$以唯一的符号结束。这对应于考虑隐式或扩展后缀树的更一般的定义。这样的通用后缀树具有许多应用,并且例如当在线构建后缀树时需要允许有效更新。我们证明了$τ$是一个后缀树当且仅当它是由一个长度为$n-1$的字符串$S$实现的,我们给出了一个线性时间算法推断$S$时,每个边缘上的第一个字母是已知的。这概括了I等人的工作[离散应用数学163,2014]。

英文摘要:

In this paper we study the structure of suffix trees. Given an unlabeled tree $τ$ on $n$ nodes and suffix links of its internal nodes, we ask the question "Is $τ$ a suffix tree?", i.e., is there a string $S$ whose suffix tree has the same topological structure as $τ$? We place no restrictions on $S$, in particular we do not require that $S$ ends with a unique symbol. This corresponds to considering the more general definition of implicit or extended suffix trees. Such general suffix trees have many applications and are for example needed to allow efficient updates when suffix trees are built online. We prove that $τ$ is a suffix tree if and only if it is realized by a string $S$ of length $n-1$, and we give a linear-time algorithm for inferring $S$ when the first letter on each edge is known. This generalizes the work of I et al. [Discrete Appl. Math. 163, 2014].

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

↑