Output-Sensitive Construction of CDAWGs from BWT-Runs
Data Structures and Algorithms
2026-07-02 v1
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 , the CDAWG with edges in time with words of working space, provided that the fully functional compressed suffix tree of Gagie, Navarro, and Prezza of size is available. Here, denotes the number of BWT-runs of the input string.
Cite
@article{arxiv.2607.01636,
title = {Output-Sensitive Construction of CDAWGs from BWT-Runs},
author = {Yuta Tsuruzono and Hiroki Arimura and Shunsuke Inenaga},
journal= {arXiv preprint arXiv:2607.01636},
year = {2026}
}