多遍配对堆和路径平衡二叉搜索树的改进边界
Improved bounds for multipass pairing heaps and path-balanced binary search trees
摘要:
我们重新审视多遍配对堆和路径平衡二叉搜索树(BST),两个经典的算法数据结构维护。配对堆是一种简单而有效的“自调整”堆,由Fredman、Sedgewick、Sleator和Tarjan在1986年提出。在多通道变体(Fredman等人描述的原始配对堆变体之一)中,最小项目是通过重复的配对循环提取的,在该循环中,相邻的兄弟被链接。Sleator(Subramanian,1996)提出的路径平衡BST是Splay树(Sleator和Tarjan,1983)的自然替代品。在路径平衡的BST中,每当访问一个项时,指向该项的搜索路径被重新排列到一个平衡树中。尽管它们很简单,但这两种算法都很难分析。Fredman等人表明,多遍配对堆中的操作需要分摊的$O(\log{n} \cdot \log\log{n} / \log\log\log{n})$时间。为了在路径平衡的BST中搜索,Balasubramanian和Raman在1995年使用不同的参数展示了$O(\log{n} \cdot \log\log{n} / \log\log\log{n})$相同的摊销时间界限。在本文中,我们显示了这两个算法之间的显式连接,并提高了两个边界$O\left(\log{n} \cdot 2^{\log^{\ast}{n}} \cdot \log^{\ast}{n}\right)$,分别为$O\left(\log{n} \cdot 2^{\log^{\ast}{n}} \cdot (\log^{\ast}{n})^2 \right)$,其中$\log^{\ast}(\cdot)$表示非常缓慢增长的迭代对数函数。这些都是第一次改进,在三个以上,分别。二十年,在这两种情况下接近$Ω(\log{n})$的信息理论下限。
英文摘要:
We revisit multipass pairing heaps and path-balanced binary search trees (BSTs), two classical algorithms for data structure maintenance. The pairing heap is a simple and efficient "self-adjusting" heap, introduced in 1986 by Fredman, Sedgewick, Sleator, and Tarjan. In the multipass variant (one of the original pairing heap variants described by Fredman et al.) the minimum item is extracted via repeated pairing rounds in which neighboring siblings are linked. Path-balanced BSTs, proposed by Sleator (Subramanian, 1996), are a natural alternative to Splay trees (Sleator and Tarjan, 1983). In a path-balanced BST, whenever an item is accessed, the search path leading to that item is re-arranged into a balanced tree. Despite their simplicity, both algorithms turned out to be difficult to analyse. Fredman et al. showed that operations in multipass pairing heaps take amortized $O(\log{n} \cdot \log\log{n} / \log\log\log{n})$ time. For searching in path-balanced BSTs, Balasubramanian and Raman showed in 1995 the same amortized time bound of $O(\log{n} \cdot \log\log{n} / \log\log\log{n})$, using a different argument. In this paper we show an explicit connection between the two algorithms and improve the two bounds to $O\left(\log{n} \cdot 2^{\log^{\ast}{n}} \cdot \log^{\ast}{n}\right)$, respectively $O\left(\log{n} \cdot 2^{\log^{\ast}{n}} \cdot (\log^{\ast}{n})^2 \right)$, where $\log^{\ast}(\cdot)$ denotes the very slowly growing iterated logarithm function. These are the first improvements in more than three, resp. two decades, approaching in both cases the information-theoretic lower bound of $Ω(\log{n})$.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。