Tight Complexity Bounds for Counting Generalized Dominating Sets in Bounded-Treewidth Graphs - Part I: Algorithmic Results
Abstract: We investigate how efficiently a well-studied family of domination-type problems can be solved on bounded-treewidth graphs. For sets \(\sigma,\rho\) of non-negative integers, a \((\sigma,\rho)\)-set of a graph G is a set S of vertices such that \(|N(u)\cap S|\in\sigma\) for every \(u\in S\), and \(|N(\!\textit{v})\cap S|\in\rho\) for every \(\textit{v}\not\in S\). The problem of finding a \((\sigma,\rho)\)-set (of a certain size) unifies standard problems, such as Independent Set, Dominating Set, Independent Dominating Set, and many others.For all pairs of finite or cofinite sets \((\sigma,\rho)\), we determine (under standard complexity assumptions) the best possible value \(c_{\sigma,\rho}\) such that there is an algorithm that counts \((\sigma,\rho)\)-sets in time \(c_{\sigma,\rho}^{\textsf{tw}}\cdot n^{O(1)}\) (if a tree decomposition of width \(\textsf{tw}\) is given in the input). Let \(s_{{\rm top}}\) denote the largest element of \(\sigma\) if \(\sigma\) is finite, or the largest missing integer \(+1\) if \(\sigma\) is cofinite; \(r_{{\rm top}}\) is defined analogously for \(\rho\). Surprisingly, \(c_{\sigma,\rho}\) is often significantly smaller than the natural bound \(s_{{\rm top}}+r_{{\rm top}}+2\) achieved by existing algorithms. Toward defining \(c_{\sigma,\rho}\), we say that \((\sigma,\rho)\) is \({\mathrm{m}}\)-structured if there is a pair \((\alpha,\beta)\) such that every integer in \(\sigma\) equals \(\alpha\) mod \({\mathrm{m}}\), and every integer in \(\rho\) equals \(\beta\) mod \({\mathrm{m}}\). Then, setting—\(c_{\sigma,\rho}=s_{{\rm top}}+r_{{\rm top}}+2\) if \((\sigma,\rho)\) is not \({\mathrm{m}}\)-structured for any \({\mathrm{m}}\geq 2\),—\(c_{\sigma,\rho}=\max\{s_{{\rm top}},r_{{\rm top}}\}+2\) if \((\sigma,\rho)\) is 2-structured, but not \({\mathrm{m}}\)-structured for any \({\mathrm{m}}\geq 3\), and \(s_{{\rm top}}=r_{{\rm top}}\) is even, and we count the number of edges between—\(c_{\sigma,\rho}=\max\{s_{{\rm top}},r_{{\rm top}}\}+1\), otherwise,we provide algorithms counting \((\sigma,\rho)\)-sets in time \(c_{\sigma,\rho}^{\textsf{tw}}\cdot n^{O(1)}\). For example, for the Exact Independent Dominating Set problem (also known as Perfect Code) corresponding to \(\sigma=\{0\}\) and \(\rho=\{1\}\), this improves the \(3^{\textsf{tw}}\cdot n^{O(1)}\) algorithm of van Rooij to \(2^{\textsf{tw}}\cdot n^{O(1)}\).Despite the unusually delicate definition of \(c_{\sigma,\rho}\), an accompanying paper shows that our algorithms are most likely optimal, that is, for any pair \((\sigma,\rho)\) of finite or cofinite sets where the problem is non-trivial, and any \(\varepsilon > 0\), a \((c_{\sigma,\rho}-\varepsilon)^{\textsf{tw}}\cdot n^{O(1)}\)-algorithm counting the number of \((\sigma,\rho)\)-sets would violate the Counting Strong Exponential-Time Hypothesis (#SETH). For finite sets \(\sigma\) and \(\rho\), these lower bounds also extend to the decision version, and hence, our algorithms are optimal in this setting as well. In contrast, for many cofinite sets, we show that further significant improvements for the decision and optimization versions are possible using the technique of representative sets.
External IDs:dblp:journals/talg/FockeMINSSW25
Loading