Linear-size CDAWG: new repetition-aware indexing and grammar compression
Abstract
In this paper, we propose a novel approach to combine \emph{compact directed acyclic word graphs} (CDAWGs) and grammar-based compression. This leads us to an efficient self-index, called Linear-size CDAWGs (L-CDAWGs), which can be represented with bits of space allowing for -time random and -time sequential accesses to edge labels, and -time pattern matching. Here, is the number of all extensions of maximal repeats in , and are respectively the lengths of the text and a given pattern, is the alphabet size, and is the number of occurrences of the pattern in . The repetitiveness measure is known to be much smaller than the text length for highly repetitive text. For constant alphabets, our L-CDAWGs achieve pattern matching time with bits of space, which improves the pattern matching time of Belazzougui et al.'s run-length BWT-CDAWGs by a factor of , with the same space complexity. Here, is the number of right extensions of maximal repeats in . As a byproduct, our result gives a way of constructing an SLP of size for a given text in time.
Cite
@article{arxiv.1705.09779,
title = {Linear-size CDAWG: new repetition-aware indexing and grammar compression},
author = {Takuya Takagi and Keisuke Goto and Yuta Fujishige and Shunsuke Inenaga and Hiroki Arimura},
journal= {arXiv preprint arXiv:1705.09779},
year = {2017}
}
Comments
12 pages, 2 figures