Counting List Homomorphisms from Graphs of Bounded Treewidth: Tight Complexity Bounds
Open Access
- 13 February 2024
- journal article
- research article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Algorithms
- Vol. 20 (2) , 1-32
Abstract
The goal of this work is to give precise bounds on the counting complexity of a family of generalized coloring problems (list homomorphisms) on bounded-treewidth graphs. Given graphs G , H , and lists L (v) ⊆ V(H) for every v ∈ V(G) , a f:V(G) → V(H) that preserves the edges (i.e., uv ∈ E(G) implies f(u)f(v) ∈ E(H) ) and respects the lists (i.e., f(v) ∈ L(v) ). Standard techniques show that if G is given with a tree decomposition of width t , then the number of list homomorphisms can be counted in time |V(H)|
t
⋅ n ????(1) . Our main result is determining, for every fixed graph H , how much the base |V(H)| in the running time can be improved. For a connected graph H , we define irr( H ) in the following way: if H has a loop or is nonbipartite, then irr( H ) is the maximum size of a set S⊆ V(H) where any two vertices have different neighborhoods; if H is bipartite, then irr( H ) is the maximum size of such a set that is fully in one of the bipartition classes. For disconnected H , we define irr( H ) as the maximum of irr( C ) over every connected component C of H . It follows from earlier results that if irr( H )=1, then the problem of counting list homomorphisms to H is polynomial-time solvable, and otherwise it is #P-hard. We show that, for every fixed graph H , the number of list homomorphisms from (G,L) to H — can be counted in time \(\operatorname{irr}(H)^t\cdot n^{\mathcal {O}(1)}\) if a tree decomposition of G having width at most t is given in the input, and, — given that \(\operatorname{irr}(H)\ge 2\) , cannot be counted in time \((\operatorname{irr}(H)-\varepsilon)^t\cdot n^{\mathcal {O}(1)}\) for any \(\varepsilon \gt 0\) , even if a tree decomposition of G having width at most t is given in the input, unless the Counting Strong Exponential-Time Hypothesis (#SETH) fails. Thereby, we give a precise and complete complexity classification featuring matching upper and lower bounds for all target graphs with or without loops.
Keywords
All Related Versions
Funding Information
- Polish National Science Centre (2018/31/D/ST6/00062)
This publication has 26 references indexed in Scilit:
- Complexity of conservative constraint satisfaction problemsACM Transactions on Computational Logic, 2011
- Colouring, constraint satisfaction, and complexityComputer Science Review, 2008
- H-Coloring dichotomy revisitedTheoretical Computer Science, 2005
- Bi‐arc graphs and the complexity of list homomorphismsJournal of Graph Theory, 2002
- Counting H-colorings of partial k-treesTheoretical Computer Science, 2002
- The Computational Structure of Monotone Monadic SNP and Constraint Satisfaction: A Study through Datalog and Group TheorySIAM Journal on Computing, 1998
- On the complexity of H-coloringJournal of Combinatorial Theory, Series B, 1990
- On the complexity of the general coloring problemInformation and Control, 1981
- Colorings and interpretations: a connection between graphs and grammar formsDiscrete Applied Mathematics, 1981
- The Complexity of Enumeration and Reliability ProblemsSIAM Journal on Computing, 1979