Splay trees on trees
Benjamin Aram Berendsohn, László Kozma
Abstract
Search trees on trees (STTs) are a far-reaching generalization of binary search trees (BSTs), allowing the efficient exploration of tree-structured domains. (BSTs are the special case in which the underlying domain is a path.) Trees on trees have been extensively studied under various guises in computer science and discrete mathematics.
Recently Bose, Cardinal, Iacono, Koumoutsos, and Langerman (SODA 2020) considered adaptive STTs and observed that, apart from notable exceptions, the machinery developed for BSTs in the past decades does not readily transfer to STTs. In particular, they asked whether the optimal STT can be efficiently computed or approximated (by analogy to Knuth's algorithm for optimal BSTs), and whether natural self-adjusting BSTs such as Splay trees (Sleator, Tarjan, 1983) can be extended to this more general setting.
We answer both questions affirmatively. First, we show that a (1 + 1 t )approximation of an optimal size-n STT for a given search distribution can be computed in time O(n 2t+1 ) for all integers t ≥ 1. Second, we identify a broad family of STTs with linear rotation-distance, allowing the generalization of Splay trees to the STT setting. We show that our generalized Splay satisfies a static optimality theorem, asymptotically matching the cost of the optimal STT in an online fashion, i.e. without knowledge of the search distribution. Our results suggest an extension of the dynamic optimality conjecture for Splay trees to the broader setting of trees on trees.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 62ceda08-c566-4b6b-905d-4ac13750644eCited by top-tier papers2
- Efficient generation of elimination trees and graph associahedraJean Cardinal, Arturo Merino, Torsten MützeSODA 2022 · 9 citations
- Facet-HamiltonicityHugo A. Akitaya, Jean Cardinal, Stefan Felsner, Linda Kleist et al.SODA 2025
Related papers
- Competitive Online Search Trees on TreesProsenjit Bose, Jean Cardinal, John Iacono, Grigorios Koumoutsos et al.SODA 2020 · 13 citations
- Improved Pattern-Avoidance Bounds for Greedy BSTs via Matrix DecompositionParinya Chalermsook, Manoj Gupta, Wanchote Jiamjitrak, Nidia Obscura Acosta et al.SODA 2023 · 4 citations
- SeedTree: A Dynamically Optimal and Local Self-Adjusting TreeArash Pourdamghani, Chen Avin, Robert Sama, Stefan SchmidINFOCOM 2023 · 2 citations
- Optimization with Pattern-Avoiding InputBenjamin Aram Berendsohn, László Kozma, Michal OplerSTOC 2024 · 1 citation
- On the Power of Learning-Augmented Search TreesJingbang Chen, Xinyuan Cao, Alicia Stepin, Li ChenICML 2025
