Relating Left and Right Extensions of Maximal Repeats
arXiv:2410.15958
Abstract
The compact directed acyclic word graph (CDAWG) of a string is an index occupying space, where is the number of right extensions of maximal repeats in . For highly repetitive datasets, the measure typically is small compared to the length of and, thus, the CDAWG serves as a compressed index. Unlike other compressibility measures (as LZ77, string attractors, BWT runs, etc.), is very unstable with respect to reversals: the CDAWG of the reversed string has size , where is the number of left extensions of maximal repeats in , and there are strings with . In this note, we prove that this lower bound is tight: . Furthermore, given the alphabet size , we establish the alphabet-dependent bound and we show that it is asymptotically tight.
4 pages