On counting homomorphisms to directed acyclic graphs
Authors:
Open Access
- 1 December 2007
- journal article
- Published by Association for Computing Machinery (ACM) in Journal of the ACM
- Vol. 54 (6) , 27
Abstract
It is known that if P and NP are different then there is an infinite hierarchy of different complexity classes that lie strictly between them. Thus, if P ≠ NP, it is not possible to classify NP using any finite collection of complexity classes. This situation has led to attempts to identify smaller classes of problems within NP where dichotomy results may hold: every problem is either in P or is NP-complete. A similar situation exists for counting problems. If P ≠#P, there is an infinite hierarchy in between and it is important to identify subclasses of #P where dichotomy results hold. Graph homomorphism problems are a fertile setting in which to explore dichotomy theorems. Indeed, Feder and Vardi have shown that a dichotomy theorem for the problem of deciding whether there is a homomorphism to a fixed directed acyclic graph would resolve their long-standing dichotomy conjecture for all constraint satisfaction problems. In this article, we give a dichotomy theorem for the problem of counting homomorphisms to directed acyclic graphs. Let H be a fixed directed acyclic graph. The problem is, given an input digraph G , determine how many homomorphisms there are from G to H . We give a graph-theoretic classification, showing that for some digraphs H , the problem is in P and for the rest of the digraphs H the problem is #P-complete. An interesting feature of the dichotomy, which is absent from previously known dichotomy results, is that there is a rich supply of tractable graphs H with complex structure.Keywords
This publication has 13 references indexed in Scilit:
- The complexity of partition functionsTheoretical Computer Science, 2005
- Graphs and Homomorphisms2004
- The complexity of counting graph homomorphismsRandom Structures & Algorithms, 2000
- The Computational Structure of Monotone Monadic SNP and Constraint Satisfaction: A Study through Datalog and Group TheorySIAM Journal on Computing, 1998
- Layered cross product&mdashA technique to construct interconnection networksNetworks, 1997
- Complexity of Generalized Satisfiability Counting ProblemsInformation and Computation, 1996
- On the complexity of H-coloringJournal of Combinatorial Theory, Series B, 1990
- The Complexity of Enumeration and Reliability ProblemsSIAM Journal on Computing, 1979
- On the Structure of Polynomial Time ReducibilityJournal of the ACM, 1975
- Operations with structuresActa Mathematica Hungarica, 1967