Splay trees on trees

10/02/2020
by   Benjamin Aram Berendsohn, et al.
0

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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
03/30/2018

On the Diameter of Tree Associahedra

We consider a natural notion of search trees on graphs, which we show is...
research
09/16/2022

Fast approximation of search trees on trees with centroid trees

Search trees on trees (STTs) generalize the fundamental binary search tr...
research
08/02/2019

Competitive Online Search Trees on Trees

We consider the design of adaptive data structures for searching element...
research
09/05/2018

Multi-finger binary search trees

We study multi-finger binary search trees (BSTs), a far-reaching extensi...
research
12/26/2020

Arithmetic Binary Search Trees: Static Optimality in the Matching Model

Motivated by recent developments in optical switching and reconfigurable...
research
01/12/2019

On Huang and Wong's Algorithm for Generalized Binary Split Trees

Huang and Wong [5] proposed a polynomial-time dynamic-programming algori...
research
07/12/2018

Push-Down Trees: Optimal Self-Adjusting Complete Trees

Since Sleator and Tarjan's seminal work on self-adjusting lists, heaps a...

Please sign up or login with your details

Forgot password? Click here to reset