Relating Left and Right Extensions of Maximal Repeats

Abstract

The compact directed acyclic word graph (CDAWG) of a string T is an index occupying O(e) space, where e is the number of right extensions of maximal repeats in T. For highly repetitive datasets, the measure e typically is small compared to the length n of T and, thus, the CDAWG serves as a compressed index. Unlike other compressibility measures (as LZ77, string attractors, BWT runs, etc.), e is very unstable with respect to reversals: the CDAWG of the reversed string ←T = T[n] ·s T[2] T[1] has size O(←e), where ←e is the number of left extensions of maximal repeats in T, and there are strings T with ←ee ∈ (n). In this note, we prove that this lower bound is tight: ←ee ∈ O(n). Furthermore, given the alphabet size σ, we establish the alphabet-dependent bound ←ee \2nσ, σ\ and we show that it is asymptotically tight.

0

Turn this paper into a full lesson

ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…