arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2405.18825cs.DS
收藏

探戈树与多伸展树的理论洞见与实验比较

Theoretical insights and an experimental comparison of tango trees and multi-splay trees

Khaleel Al-Adhami, Dev Chheda

AI总结:

本文首次实验实现探戈树,并与多伸展树和伸展树比较,证明探戈树在多种访问上非最优,且顺序访问时间为Θ(n lg lg n),并揭示多伸展树因大常数项而实用性较低。

摘要:

探戈树是首个被证明具有 $O(\lg \lg n)$ 竞争性的二叉搜索树(BST)。我们首次实现了探戈树的实验性代码,并在多种访问序列族上,将探戈树的运行时间与多伸展树及伸展树进行了比较。我们构造了旨在测试BST特定性质的访问序列。其他实验的结果表明,伸展树和多伸展树在这些访问上达到了最优性,同时揭示了探戈树无法达到最优性。我们证明了探戈树在顺序访问上的运行时间为 $\Theta(n \lg \lg n)$,这为为何在许多访问序列上存在 $\Theta(\lg \lg n)$ 的缓慢提供了洞见。受实验结果的启发,我们对多伸展树的工作集访问进行了更深入的分析,从而对多伸展树的行为有了新的认识。最后,所有实验还揭示出多伸展树中存在较大的常数项和低阶项,这使得它虽然具有更紧的已证明竞争界,但实际应用性不如伸展树。

英文摘要:

The tango tree is the first proven $O(\lg \lg n)$-competitive binary search tree (BST). We present the first ever experimental implementation of tango trees and compare the running time of the tango tree with the multi-splay tree and the splay tree on a variety of families of access sequences. We construct access sequences that are intended to test specific properties of BSTs. The results of the other experiments demonstrate the optimality of the splay tree and multi-splay tree on these accesses, while simultaneously demonstrating the tango trees inability to achieve optimality. We prove that the running time of tango trees on the sequential access is $Θ(n \lg \lg n)$, which provides insight into why the $Θ(\lg \lg n)$ slow down exists on many access sequences. Motivated by experimental results, we conduct a deeper analysis of the working set access on multi-splay trees, leading to new insights about multi-splay tree behavior. Finally, all of the experiments also reveal insights about large constants and lower order terms in the multi-splay tree, which make it less practical than the splay tree, even though its proven competitive bound is tighter.

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

↑