Top Tree Compression of Tries

02/06/2019
by   Philip Bille, et al.
0

We present a compressed representation of tries based on top tree compression [ICALP 2013] that works on a standard, comparison-based, pointer machine model of computation and supports efficient prefix search queries. Namely, we show how to preprocess a set of strings of total length n over an alphabet of size σ into a compressed data structure of worst-case optimal size O(n/_σ n) that given a pattern string P of length m determines if P is a prefix of one of the strings in time O((mσ,m + n)). We show that this query time is in fact optimal regardless of the size of the data structure. Existing solutions either use Ω(n) space or use word RAM bit tricks (i.e. do not work on a pointer machine). Our result is the first solution on a pointer machine that achieves worst-case o(n) space. Along the way, we develop several interesting data structures that work on a pointer machine and are of independent interest. These include an optimal data structure for random access to a grammar-compressed string and an optimal data structure for a variant of the level ancestor problem.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
11/22/2017

Compressed Indexing with Signature Grammars

The compressed indexing problem is to preprocess a string S of length n ...
research
02/12/2019

Compressed Range Minimum Queries

Given a string S of n integers in [0,σ), a range minimum query RMQ(i, j)...
research
11/03/2018

Compressed Multiple Pattern Matching

Given d strings over the alphabet {0,1,...,σ-1}, the classical Aho--Cora...
research
04/12/2018

Fast Prefix Search in Little Space, with Applications

It has been shown in the indexing literature that there is an essential ...
research
10/04/2018

Compound Binary Search Tree and Algorithms

The Binary Search Tree (BST) is average in computer science which suppor...
research
05/23/2023

Engineering Rank/Select Data Structures for Big-Alphabet Strings

Big-alphabet strings are common in several scenarios such as information...
research
08/12/2018

Local Decodability of the Burrows-Wheeler Transform

The Burrows-Wheeler Transform (BWT) is among the most influential discov...

Please sign up or login with your details

Forgot password? Click here to reset