arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1304.6897cs.DS
收藏

静态二叉查找树与懒惰手指的力量和限制

The Power and Limitations of Static Binary Search Trees with Lazy Finger

Prosenjit Bose, Karim Douïeb, John Iacono, Stefan Langerman

摘要:

一个静态的二叉搜索树,其中每个搜索从前一个结束的地方开始(懒惰的手指)。这样的搜索方法比经典的最优静态树更强大,其中每次搜索都从根(根指)开始,而比允许旋转时更弱-其中找到最佳的基于旋转的树是Sleator和Tarjan的动态最优性猜想的主题。经典的根手指树的运行时间可以表示在搜索的分布的熵,但我们表明,这是不是最佳的懒惰手指树的情况。推导了最优懒惰手指树的运行时间的非熵渐近紧表达式,并提出了一种基于动态规划的最优懒惰手指树的计算方法。

英文摘要:

A static binary search tree where every search starts from where the previous one ends (lazy finger) is considered. Such a search method is more powerful than that of the classic optimal static trees, where every search starts from the root (root finger), and less powerful than when rotations are allowed---where finding the best rotation based tree is the topic of the dynamic optimality conjecture of Sleator and Tarjan. The runtime of the classic root-finger tree can be expressed in terms of the entropy of the distribution of the searches, but we show that this is not the case for the optimal lazy finger tree. A non-entropy based asymptotically-tight expression for the runtime of the optimal lazy finger trees is derived, and a dynamic programming-based method is presented to compute the optimal tree.

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

↑