Abstract:Let a text T [1..n] be the only string generated by a context-free grammar with g (terminal and nonterminal) symbols, and of size G (measured as the sum of the lengths of the right-hand sides of the rules). Such a grammar, called a grammar-compressed representation of T , can be encoded using essentially G lg g bits. We introduce the first grammar-compressed index that uses O(G lg n) bits and can find the occ occurrences of patterns P [1..m] in time O((m 2 + occ) lg G). We implement the index and demonstrate i… Show more
Set email alert for when this publication receives citations?
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.