Optimal Rank and Select Queries on Dictionary-Compressed Text
Abstract
We study the problem of supporting queries on a string of length within a space bounded by the size of a string attractor for . Recent works showed that random access on can be supported in optimal time within space. In this paper, we extend this result to \emph{rank} and \emph{select} queries and provide lower bounds matching our upper bounds on alphabets of polylogarithmic size. Our solutions are given in the form of a space-time trade-off that is more general than the one previously known for grammars and that improves existing bounds on LZ77-compressed text by a time-factor in \emph{select} queries. We also provide matching lower and upper bounds for \emph{partial sum} and \emph{predecessor} queries within attractor-bounded space, and extend our lower bounds to encompass navigation of dictionary-compressed tree representations.
Cite
@article{arxiv.1811.01209,
title = {Optimal Rank and Select Queries on Dictionary-Compressed Text},
author = {Nicola Prezza},
journal= {arXiv preprint arXiv:1811.01209},
year = {2018}
}
Comments
improved select bound with reduction to psum. Added lower bounds on trees