arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2409.17905cs.DMcs.DS
收藏

使用流的旋转距离

Rotation distance using flows

Claire Mathieu, William Thurston

AI总结:

本文为具有n个内部节点的树之间最大旋转距离2n-6提供了初等证明,通过构造流问题实例并利用最大流最小割定理隐式定义树的势函数,替代了原有的双曲体积论证。

摘要:

Splay trees是由Sleator和Tarjan发明的一种简单且高效的动态数据结构。在此方案中,转换二叉树的基本原语是旋转。Sleator、Tarjan和Thurston证明了具有n个内部节点的树之间的最大旋转距离恰好为2n-6(其中n大于某个常数)。上界的证明很容易,但下界的证明却出人意料地使用了基于计算双曲体积的复杂论证。我们给出了同一结果的初等证明。本文的主要兴趣在于其全新的方法。它主要依赖于势函数论证,类似于许多摊还分析。然而,树的势并非显式定义,而是通过构造流问题的实例并使用最大流最小割定理来确定。

英文摘要:

Splay trees are a simple and efficient dynamic data structure, invented by Sleator and Tarjan. The basic primitive for transforming a binary tree in this scheme is a rotation. Sleator, Tarjan, and Thurston proved that the maximum rotation distance between trees with n internal nodes is exactly 2n-6 for trees with n internal nodes (where n is larger than some constant). The proof of the upper bound is easy but the proof of the lower bound, remarkably, uses sophisticated arguments based on calculating hyperbolic volumes. We give an elementary proof of the same result. The main interest of the paper lies in the method, which is new. It basically relies on a potential function argument, similar to many amortized analyses. However, the potential of a tree is not defined explicitly, but by constructing an instance of a flow problem and using the max-flow min-cut theorem.

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

↑