Mergeable Dictionaries With Shifts

01/03/2019
by   Philip Bille, et al.
0

We revisit the mergeable dictionaries with shift problem, where the goal is to maintain a family of sets subject to search, split, merge, make-set, and shift operations. The search, split, and make-set operations are the usual well-known textbook operations. The merge operation merges two sets and the shift operation adds or subtracts an integer from all elements in a set. Note that unlike the join operation on standard balanced search tree structures, such as AVL trees or 2-4 trees, the merge operation has no restriction on the key space of the input sets and supports merging arbitrarily interleaved sets. This problem is a key component in searching Lempel-Ziv compressed texts, in the mergeable trees problem, and in the union-split-find problem. We present the first solution achieving O(log U) amortized time for all operations, where 1, 2, ..., U is the universe of the sets. This bound is optimal when the size of the universe is polynomially bounded by the sum of the sizes of the sets. Our solution is simple and based on a novel extension of biased search trees.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
10/17/2020

Lazy Search Trees

We introduce the lazy search tree data structure. The lazy search tree i...
research
06/09/2022

Hinted Dictionaries: Efficient Functional Ordered Sets and Maps

This article introduces hinted dictionaries for expressing efficient ord...
research
02/22/2020

Testing the Agreement of Trees with Internal Labels

The input to the agreement problem is a collection P = {T_1, T_2, ... , ...
research
05/03/2020

Variational Shape Approximation of Point Set Surfaces

In this work, we present a translation of the complete pipeline for vari...
research
08/11/2022

A Deformation-based Edit Distance for Merge Trees

In scientific visualization, scalar fields are often compared through ed...
research
06/27/2012

A Split-Merge Framework for Comparing Clusterings

Clustering evaluation measures are frequently used to evaluate the perfo...
research
12/28/2017

Chernoff Information between Gaussian Trees

In this paper, we aim to provide a systematic study of the relationship ...

Please sign up or login with your details

Forgot password? Click here to reset