JOURNAL ARTICLE

On counting homomorphisms to directed acyclic graphs

Martin DyerLeslie Ann GoldbergMike Paterson

Year: 2007 Journal:   Journal of the ACM Vol: 54 (6)Pages: 27-27   Publisher: Association for Computing Machinery

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:
Homomorphism Mathematics Combinatorics Directed acyclic graph Digraph Discrete mathematics Directed graph Conjecture Constraint satisfaction problem Hierarchy

Metrics

80
Cited By
9.18
FWCI (Field Weighted Citation Impact)
15
Refs
0.98
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Advanced Graph Theory Research
Physical Sciences →  Computer Science →  Computational Theory and Mathematics
Graph theory and applications
Physical Sciences →  Mathematics →  Geometry and Topology
Limits and Structures in Graph Theory
Physical Sciences →  Mathematics →  Discrete Mathematics and Combinatorics

Related Documents

BOOK-CHAPTER

On Counting Homomorphisms to Directed Acyclic Graphs

Martin DyerLeslie Ann GoldbergMike Paterson

Lecture notes in computer science Year: 2006 Pages: 38-49
JOURNAL ARTICLE

Counting and Sampling Markov Equivalent Directed Acyclic Graphs

Topi TalvitieMikko Koivisto

Journal:   Proceedings of the AAAI Conference on Artificial Intelligence Year: 2019 Vol: 33 (01)Pages: 7984-7991
JOURNAL ARTICLE

Approximately Counting Approximately-Shortest Paths in Directed Acyclic Graphs

Matúš MihaľákRastislav ŠrámekPeter Widmayer

Journal:   Theory of Computing Systems Year: 2014 Vol: 58 (1)Pages: 45-59
BOOK-CHAPTER

Directed Acyclic Graphs

WORLD SCIENTIFIC eBooks Year: 2025 Pages: 113-132
© 2026 ScienceGate Book Chapters — All rights reserved.