基于次泛树的最近共同祖先标记方案
Better Labeling Schemes for Nearest Common Ancestors through Minor-Universal Trees
摘要:
最近共同祖先的标记方案为树的每个节点分配一个不同的二进制字符串,称为标签,因此给定两个节点的标签(并且没有关于树的拓扑的进一步信息),我们可以计算它们最近共同祖先的标签。我们的目标是使标签尽可能短。Alstrup,Gavoille,Kaplan和Rauhe [Theor。Comput. Syst.37(3):441-456 2004]表明$O(\log n)$位标签就足够了。最近,Alstrup、Halvorsen和Larsen [SODA 2014]将其细化为仅$2.772\log n$,并提供了$1.008\log n$的下限。我们连接设计一个标签计划最近的共同祖先的存在的树,称为一个小的通用树,其中包含每棵树的$n$节点作为拓扑子。即使它是不清楚的,如果一个标签计划必须基于这样的概念,我们认为,现有的计划可以重新制定这样的,它使我们能够获得清洁和良好的界限上的标签的长度。作为主要的上限,我们表明,$2.318\log n$位标签是足够的。令人惊讶的是,在$n$节点上的二叉树的次泛树的概念已经由Hrubes等人[CCC 2010]在不同的上下文中使用,并且Young、Chu和Wong [J. ACM 46(3):416-435,1999]引入了泛树的密切相关的概念。在下界方面,我们证明了$n$节点上的树的任何小泛树的大小是$Ω(n^{2.174})$。这突出了基于这种树的所有方法的自然限制。我们的下界技术也意味着任何泛树的大小在Young等人的意义上是$Ω(n^{2.185})$,从而大大提高了他们的下限$Ω(n\log n)$。我们补充存在的结果与一个通用的转换,减少查询时间常数在任何计划的基础上,一个小的通用树。
英文摘要:
A labeling scheme for nearest common ancestors assigns a distinct binary string, called the label, to every node of a tree, so that given the labels of two nodes (and no further information about the topology of the tree) we can compute the label of their nearest common ancestor. The goal is to make the labels as short as possible. Alstrup, Gavoille, Kaplan, and Rauhe [Theor. Comput. Syst. 37(3):441-456 2004] showed that $O(\log n)$-bit labels are enough. More recently, Alstrup, Halvorsen, and Larsen [SODA 2014] refined this to only $2.772\log n$, and provided a lower bound of $1.008\log n$. We connect designing a labeling scheme for nearest common ancestors to the existence of a tree, called a minor-universal tree, that contains every tree on $n$ nodes as a topological minor. Even though it is not clear if a labeling scheme must be based on such a notion, we argue that the existing schemes can be reformulated as such, and it allows us to obtain clean and good bounds on the length of the labels. As the main upper bound, we show that $2.318\log n$-bit labels are enough. Surprisingly, the notion of a minor-universal tree for binary trees on $n$ nodes has been already used in a different context by Hrubes et al. [CCC 2010], and Young, Chu, and Wong [J. ACM 46(3):416-435, 1999] introduced a closely related notion of a universal tree. On the lower bound side, we show that the size of any minor-universal tree for trees on $n$ nodes is $Ω(n^{2.174})$. This highlights a natural limitation for all approaches based on such trees. Our lower bound technique also implies that the size of any universal tree in the sense of Young et al. is $Ω(n^{2.185})$, thus dramatically improves their lower bound of $Ω(n\log n)$. We complement the existential results with a generic transformation that decreases the query time to constant in any scheme based on a minor-universal tree.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。