English

Almost-linear time parameterized algorithm for rankwidth via dynamic rankwidth

Data Structures and Algorithms 2024-02-20 v1 Discrete Mathematics Combinatorics

Abstract

We give an algorithm that given a graph GG with nn vertices and mm edges and an integer kk, in time Ok(n1+o(1))+O(m)O_k(n^{1+o(1)}) + O(m) either outputs a rank decomposition of GG of width at most kk or determines that the rankwidth of GG is larger than kk; the Ok()O_k(\cdot)-notation hides factors depending on kk. Our algorithm returns also a (2k+11)(2^{k+1}-1)-expression for cliquewidth, yielding a (2k+11)(2^{k+1}-1)-approximation algorithm for cliquewidth with the same running time. This improves upon the Ok(n2)O_k(n^2) time algorithm of Fomin and Korhonen [STOC 2022]. The main ingredient of our algorithm is a fully dynamic algorithm for maintaining rank decompositions of bounded width: We give a data structure that for a dynamic nn-vertex graph GG that is updated by edge insertions and deletions maintains a rank decomposition of GG of width at most 4k4k under the promise that the rankwidth of GG never grows above kk. The amortized running time of each update is Ok(2lognloglogn)O_k(2^{\sqrt{\log n} \log \log n}). The data structure furthermore can maintain whether GG satisfies some fixed CMSO1{\sf CMSO}_1 property within the same running time. We also give a framework for performing ``dense'' edge updates inside a given set of vertices XX, where the new edges inside XX are described by a given CMSO1{\sf CMSO}_1 sentence and vertex labels, in amortized Ok(X2lognloglogn)O_k(|X| \cdot 2^{\sqrt{\log n} \log \log n}) time. Our dynamic algorithm generalizes the dynamic treewidth algorithm of Korhonen, Majewski, Nadara, Pilipczuk, and Soko{\l}owski [FOCS 2023].

Keywords

Cite

@article{arxiv.2402.12364,
  title  = {Almost-linear time parameterized algorithm for rankwidth via dynamic rankwidth},
  author = {Tuukka Korhonen and Marek Sokołowski},
  journal= {arXiv preprint arXiv:2402.12364},
  year   = {2024}
}