Skip to main content

A New Path from Splay to Dynamic Optimality

Author(s): Levy, Caleb; Tarjan, Robert

Download
To refer to this page use: http://arks.princeton.edu/ark:/88435/pr1hx15r0d
Full metadata record
DC FieldValueLanguage
dc.contributor.authorLevy, Caleb-
dc.contributor.authorTarjan, Robert-
dc.date.accessioned2023-12-28T16:15:05Z-
dc.date.available2023-12-28T16:15:05Z-
dc.date.issued2019-01en_US
dc.identifier.citationLevy, Caleb and Tarjan, Robert. "A New Path from Splay to Dynamic Optimality." Proceedings of the 2019 Annual ACM-SIAM Symposium on Discrete Algorithms (SODA) (2019): 1311 - 1330. doi:10.1137/1.9781611975482.80en_US
dc.identifier.urihttp://arks.princeton.edu/ark:/88435/pr1hx15r0d-
dc.description.abstractConsider the task of performing a sequence of searches in a binary search tree. After each search, an algorithm is allowed to arbitrarily restructure the tree, at a cost proportional to the amount of restructuring performed. The cost of an execution is the sum of the time spent searching and the time spent optimizing those searches with restructuring operations. This notion was introduced by Sleator and Tarjan in 1985 [27], along with an algorithm and a conjecture. The algorithm, Splay, is an elegant procedure for performing adjustments while moving searched items to the top of the tree. The conjecture, called dynamic optimality, is that the cost of splaying is always within a constant factor of the optimal algorithm for performing searches. The conjecture stands to this day. We offer the first systematic proposal for settling the dynamic optimality conjecture. At the heart of our methods is what we term a simulation embedding: a mapping from executions to lists of keys that induces a target algorithm to simulate the execution. We build a simulation embedding for Splay by inducing it to perform arbitrary subtree transformations, and use this to show that if the cost of splaying a sequence of items is an upper bound on the cost of splaying every subsequence thereof, then Splay is dynamically optimal. We call this the subsequence property. Building on this machinery, we show that if Splay is dynamically optimal, then with respect to optimal costs, its additive overhead is at most linear in the sum of initial tree size and number of requests. As a corollary, the subsequence property is also a necessary condition for dynamic optimality. The subsequence property also implies both the traversal [27] and deque [30] conjectures. The notions of simulation embeddings and bounding additive overheads should be of general interest in competitive analysis. For readers especially interested in dynamic optimality, we provide an outline of a proof that a lower bound on search costs by Wilber [32] has the subsequence property, and extensive suggestions for adapting this proof to Splay.en_US
dc.format.extent1311 - 1330en_US
dc.language.isoen_USen_US
dc.relation.ispartofProceedings of the 2019 Annual ACM-SIAM Symposium on Discrete Algorithms (SODA)en_US
dc.rightsFinal published version. This is an open access article.en_US
dc.titleA New Path from Splay to Dynamic Optimalityen_US
dc.typeConference Articleen_US
dc.identifier.doi10.1137/1.9781611975482.80-
pu.type.symplectichttp://www.symplectic.co.uk/publications/atom-terms/1.0/conference-proceedingen_US

Files in This Item:
File Description SizeFormat 
NewPathSplayDynamicOptimality.pdf1.03 MBAdobe PDFView/Download


Items in OAR@Princeton are protected by copyright, with all rights reserved, unless otherwise indicated.