Access-Adaptive Priority Search Tree

09/04/2020
by   Haley Massa, et al.
0

In this paper we show that the priority search tree of McCreight, which was originally developed to satisfy a class of spatial search queries on 2-dimensional points, can be adapted to the problem of dynamically maintaining a set of keys so that the query complexity adapts to the distribution of queried keys. Presently, the best-known example of such a data structure is the splay tree, which dynamically reconfigures itself during each query so that frequently accessed keys move to the top of the tree and thus can be retrieved with fewer queries than keys that are lower in the tree. However, while the splay tree is conjectured to offer optimal adaptive amortized query complexity, it may require O(n) for individual queries. We show that an access-adaptive priority search tree (AAPST) can provide competitive adaptive query performance while ensuring O(log n) worst-case query performance, thus potentially making it more suitable for certain interactive (e.g.,online and real-time) applications for which the response time must be bounded.

READ FULL TEXT
research
10/17/2020

Lazy Search Trees

We introduce the lazy search tree data structure. The lazy search tree i...
research
03/01/2021

On the Cost of Unsuccessful Searches in Search Trees with Two-way Comparisons

Search trees are commonly used to implement access operations to a set o...
research
11/11/2022

External-memory dictionaries with worst-case update cost

The B^ϵ-tree [Brodal and Fagerberg 2003] is a simple I/O-efficient exter...
research
11/05/2019

Learning Optimal Search Algorithms from Data

Classical algorithm design is geared towards worst case instances and fa...
research
06/07/2023

Prefix Siphoning: Exploiting LSM-Tree Range Filters For Information Disclosure (Full Version)

Key-value stores typically leave access control to the systems for which...
research
07/01/2022

The "AI+R"-tree: An Instance-optimized R-tree

The emerging class of instance-optimized systems has shown potential to ...
research
06/07/2020

J-Logic: a Logic for Querying JSON

We propose a logical framework, based on Datalog, to study the foundatio...

Please sign up or login with your details

Forgot password? Click here to reset