Output-Sensitive Construction of CDAWGs from BWT-Runs

Abstract

The compact directed acyclic word graph (CDAWG) of a string can be viewed in two equivalent ways: as the edge-compacted DAWG of the string, and as the DAG obtained from the suffix tree by merging the nodes whose subtrees are isomorphic. By exploiting these two views in opposite directions, we show how to build, for the (reversed) input string of length n, the CDAWG with eL edges in O(eL n(n/r)) time with O(r(n/r)+eL) words of working space, provided that the fully functional compressed suffix tree of Gagie, Navarro, and Prezza of size O(r(n/r)) is available. Here, r denotes the number of BWT-runs of the input string.

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…