Dynamic Treewidth in Logarithmic Time
Abstract
We present a dynamic data structure that maintains a tree decomposition of width at most of a dynamic graph with treewidth at most , which is updated by edge insertions and deletions. The amortized update time of our data structure is , where is the number of vertices. The data structure also supports maintaining any ``dynamic programming scheme'' on the tree decomposition, providing, for example, a dynamic version of Courcelle's theorem with amortized update time; the notation hides factors that depend on . This improves upon a result of Korhonen, Majewski, Nadara, Pilipczuk, and Soko{\l}owski [FOCS 2023], who gave a similar data structure but with amortized update time . Furthermore, our data structure is arguably simpler. Our main novel idea is to maintain a tree decomposition that is ``downwards well-linked'', which allows us to implement local rotations and analysis similar to those for splay trees.
Cite
@article{arxiv.2504.02790,
title = {Dynamic Treewidth in Logarithmic Time},
author = {Tuukka Korhonen},
journal= {arXiv preprint arXiv:2504.02790},
year = {2025}
}
Comments
46 pages, 2 figures