Enregistré dans:
Détails bibliographiques
Auteurs principaux: Al-Adhami, Khaleel, Chheda, Dev
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:https://arxiv.org/abs/2405.18825
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866917677944012800
author Al-Adhami, Khaleel
Chheda, Dev
author_facet Al-Adhami, Khaleel
Chheda, Dev
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2405_18825
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Theoretical insights and an experimental comparison of tango trees and multi-splay trees
Al-Adhami, Khaleel
Chheda, Dev
Data Structures and Algorithms
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.
title Theoretical insights and an experimental comparison of tango trees and multi-splay trees
topic Data Structures and Algorithms
url https://arxiv.org/abs/2405.18825