Compressed Indexing with Signature Grammars
Abstract
The compressed indexing problem is to preprocess a string of length into a compressed representation that supports pattern matching queries. That is, given a string of length report all occurrences of in . We present a data structure that supports pattern matching queries in time using space where is the size of the LZ77 parse of and is an arbitrarily small constant, when the alphabet is small or for any constant . We also present two data structures for the general case; one where the space is increased by , and one where the query time changes from worst-case to expected. These results improve the previously best known solutions. Notably, this is the first data structure that decides if occurs in in time using space. Our results are mainly obtained by a novel combination of a randomized grammar construction algorithm with well known techniques relating pattern matching to 2D-range reporting.
Cite
@article{arxiv.1711.08217,
title = {Compressed Indexing with Signature Grammars},
author = {Anders Roy Christiansen and Mikko Berggren Ettienne},
journal= {arXiv preprint arXiv:1711.08217},
year = {2018}
}