Fast dynamic programming on graph decompositions

Johan M.M. van Rooij, Hans L. Bodlaender, Erik Jan van Leeuwen, Peter Rossmanith, Martin Vatshelle

Research output: Contribution to journalArticleAcademic

26 Downloads (Pure)


In this paper, we consider tree decompositions, branch decompositions, and clique decompositions. We improve the running time of dynamic programming algorithms on these graph decompositions for a large number of problems as a function of the treewidth, branchwidth, or cliquewidth, respectively. On tree decompositions of width $k$, we improve the running time for Dominating Set to $O(3^k)$. We generalise this result to $[\rho,\sigma]$-domination problems with finite or cofinite $\rho$ and $\sigma$. For these problems, we give $O(s^k)$-time algorithms, where $s$ is the number of `states' a vertex can have in a standard dynamic programming algorithm for such a problems. Furthermore, we give an $O(2^k)$-time algorithm for counting the number of perfect matchings in a graph, and generalise this to $O(2^k)$-time algorithms for many clique covering, packing, and partitioning problems. On branch decompositions of width $k$, we give an $O(3^{\frac{\omega}{2}k})$-time algorithm for Dominating Set, an $O(2^{\frac{\omega}{2}k})$-time algorithm for counting the number of perfect matchings, and $O(s^{\frac{\omega}{2}k})$-time algorithms for $[\rho,\sigma]$-domination problems involving $s$ states with finite or cofinite $\rho$ and $\sigma$. Finally, on clique decompositions of width $k$, we give $O(4^k)$-time algorithms for Dominating Set, Independent Dominating Set, and Total Dominating Set. The main techniques used in this paper are a generalisation of fast subset convolution, as introduced by Bj\"orklund et al., now applied in the setting of graph decompositions and augmented such that multiple states and multiple ranks can be used. Recently, Lokshtanov et al. have shown that some of the algorithms obtained in this paper have running times in which the base in the exponents is optimal, unless the Strong Exponential-Time Hypothesis fails.
Original languageEnglish
Article number1806.01667
Number of pages54
Publication statusPublished - 5 Jun 2018

Bibliographical note

Preliminary parts of this paper have appeared under the title `Dynamic Programming on Tree Decompositions Using Generalised Fast Subset Convolution' on the 17th Annual European Symposium on Algorithms (ESA 2009), and under the title `Faster Algorithms on Branch and Clique Decompositions' on the 35th International Symposium Mathematical Foundations of Computer Science (MFCS 2010)


  • cs.DS


Dive into the research topics of 'Fast dynamic programming on graph decompositions'. Together they form a unique fingerprint.

Cite this