动态最优权重平衡二叉搜索树
Dynamically optimal weight-balanced binary search trees
AI总结:
本文提出新的基于旋转的二叉搜索树PopTree,其在搜索后和运行中满足不同的BB[α]平衡条件,且在Ω(n log n)长度搜索序列上的性能接近最优离线同类型树。
摘要:
1972年STOC会议上,Jürg Nievergelt和Edward M. Reingold提出了BB[α]-树,又称权重平衡树,对于任意α∈(0,1/2],它是一种二叉搜索树,其中每个具有诱导子树大小s的节点,其子节点的诱导子树大小至少为α(s+1)-1。本文提出了一种新的基于旋转的二叉搜索树——PopTree,该PopTree存储n个元素,每次搜索后为BB[1/20]-树,且在所有时刻(尤其是重新平衡期间)均为BB[1/729]-树。对于任意常数α,其在长度为Ω(n log n)的搜索序列上的性能,被证明与维持BB[α]平衡不变量的最优离线基于旋转的二叉搜索树的性能相差一个常数因子(该因子可依赖于α)。
英文摘要:
In STOC 1972, J{ü}rg Nievergelt and Edward M.~Reingold introduced the $BB[α]$-tree, also known as a \emph{weight-balanced} tree, which for any $α\in (0,\frac{1}{2}]$ is a binary search tree where every node with induced subtree size $s$ has children with induced subtree sizes at least $α(s+1)-1$. A new rotation-based binary search tree, the \emph{PopTree}, is introduced. The PopTree stores $n$ elements and is a $BB[\tfrac1{20}]$-tree after the execution of each search and a $BB[\tfrac1{729}]$-tree at all times, notably while rebalancing. For any constant $α$, its performance on search sequences of length $Ω(n \log n)$ is proved to be within a constant factor (which can depend on $α$) of the optimal offline rotation-based binary search tree that maintains the $BB[α]$ balance invariant.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。