Grammar-Compressed Indexes with Logarithmic Search Time
Data Structures and Algorithms
2020-04-03 v1
Abstract
Let a text be the only string generated by a context-free grammar with (terminal and nonterminal) symbols, and of size (measured as the sum of the lengths of the right-hand sides of the rules). Such a grammar, called a grammar-compressed representation of , can be encoded using essentially bits. We introduce the first grammar-compressed index that uses bits and can find the occurrences of patterns in time . We implement the index and demonstrate its practicality in comparison with the state of the art, on highly repetitive text collections.
Keywords
Cite
@article{arxiv.2004.01032,
title = {Grammar-Compressed Indexes with Logarithmic Search Time},
author = {Francisco Claude and Gonzalo Navarro and Alejandro Pacheco},
journal= {arXiv preprint arXiv:2004.01032},
year = {2020}
}
Comments
arXiv admin note: substantial text overlap with arXiv:1110.4493