自调整堆的效率
Efficiency of Self-Adjusting Heaps
AI总结:
针对自调整堆是否支持O(log log n)时间decrease-key操作的开放问题,本文证明slim堆和平滑堆的decrease-key为O(log log n),多遍配对堆为O(log log n log log log n),显著改进了现有边界且前两者的边界是紧的。
摘要:
自Fredman、Sedgewick、Sleator和Tarjan发明配对堆以来,一个悬而未决的问题是:这种或其他任何简单的“自调整”堆是否支持以O(log log n)时间执行decrease-key操作,其中n是堆中的元素数量。利用强大的新技术,我们对这个问题给出了肯定的答案。我们证明,最近提出的自调整堆——slim堆和平滑堆(smooth heaps)支持以下摊还时间复杂度的堆操作:delete-min和delete为O(log n),decrease-key为O(log log n),其他所有操作(包括insert和meld)为O(1),其中n是最终被删除的堆元素数量:插入但从未被删除的元素不计入该边界。我们还分析了多遍配对堆(multipass pairing heap)——配对堆的一个变体。对于这种堆实现,我们得到了相同的边界,除了decrease-key的边界为O(log log n log log log n),其中同样,从未被删除的元素不计入n。我们的边界显著改进了这三种数据结构之前已知的最佳边界。对于slim堆和平滑堆,我们的边界是紧的,因为它们与Iacono和Özkan的下界相匹配。
英文摘要:
Since the invention of the pairing heap by Fredman, Sedgewick, Sleator, and Tarjan, it has been an open question whether this or any other simple "self-adjusting" heap supports decrease-key operations in $O(\log\log n)$ time, where $n$ is the number of heap items. Using powerful new techniques, we answer this question in the affirmative. We prove that both slim and smooth heaps, recently introduced self-adjusting heaps, support heap operations in the following amortized time bounds: $O(\log n)$ for delete-min and delete, $O(\log\log n)$ for decrease-key, and $O(1)$ for all other heap operations, including insert and meld, where $n$ is the number of heap items that are eventually deleted: Items inserted but never deleted do not count in the bounds. We also analyze the multipass pairing heap, a variant of pairing heaps. For this heap implementation, we obtain the same bounds except for decrease-key, for which our bound is $O(\log\log n \log\log\log n)$, where again items that are never deleted do not count in $n$. Our bounds significantly improve the best previously known bounds for all three data structures. For slim and smooth heaps our bounds are tight, since they match lower bounds of Iacono and Özkan.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。