Locally Consistent Parsing for Text Indexing in Small Space

12/02/2018
by   Or Birenzwige, et al.
0

We consider two closely related problems of text indexing in a sub-linear working space. The first problem is the Sparse Suffix Tree (SST) construction of a set of suffixes B using only O(|B|) words of space. The second problem is the Longest Common Extension (LCE) problem, where for some parameter 1<τ< n, the goal is to construct a data structure that uses O(n/τ) words of space and can compute the longest common prefix length of any pair of suffixes. We show how to use ideas based on the Locally Consistent Parsing technique, that was introduced by Sahinalp and Vishkin [STOC '94], in some non-trivial ways in order to improve the known results for the above problems. We introduce new Las-Vegas and deterministic algorithms for both problems. We introduce the first Las-Vegas SST construction algorithm that takes O(n) time. This is an improvement over the last result of Gawrychowski and Kociumaka [SODA '17] who obtained O(n) time for Monte-Carlo algorithm, and O(n√( |B|)) time for Las-Vegas algorithm. In addition, we introduce a randomized Las-Vegas construction for an LCE data structure that can be constructed in linear time and answers queries in O(τ) time. For the deterministic algorithms, we introduce an SST construction algorithm that takes O(n(n/|B|+^*n)) time (for |B|=Ω( n^*n)). This is the first almost linear time, O(n· polyn), deterministic SST construction algorithm, where all previous algorithms take at least Ω({n|B|,n^2/|B|}) time. For the LCE problem, we introduce a data structure that answers LCE queries in O(τ√(^*n)) time, with O(n(τ+^*n)) construction time (for τ=O(n/ n^*n)). This data structure improves both query time and construction time upon the results of Tanimura et al. [CPM '16].

READ FULL TEXT

page 1

page 2

page 3

page 4

research
04/08/2019

String Synchronizing Sets: Sublinear-Time BWT Construction and Optimal LCE Data Structure

Burrows-Wheeler transform (BWT) is an invertible text transformation tha...
research
09/27/2018

Closest-Pair Queries in Fat Rectangles

In the range closest pair problem, we want to construct a data structure...
research
11/16/2019

Constructing the Bijective BWT

The Burrows-Wheeler transform (BWT) is a permutation whose applications ...
research
05/08/2021

Construction of Sparse Suffix Trees and LCE Indexes in Optimal Time and Space

The notions of synchronizing and partitioning sets are recently introduc...
research
12/05/2017

Deterministic Heavy Hitters with Sublinear Query Time

This paper studies the classic problem of finding heavy hitters in the t...
research
05/19/2018

Orthogonal Point Location and Rectangle Stabbing Queries in 3-d

In this work, we present a collection of new results on two fundamental ...
research
10/30/2019

Use of R-trees to improve reconstruction time in pixel trackers

Computing time is becoming a key issue for tracking algorithms both onli...

Please sign up or login with your details

Forgot password? Click here to reset