JOURNAL ARTICLE

The complexity of counting graph homomorphisms

Martin J.S. DyerCatherine Greenhill

Year: 2000 Journal:   Random Structures and Algorithms Vol: 17 (34)Pages: 260-289   Publisher: Wiley

Abstract

The problem of counting homomorphisms from a general graph G to a fixed graph H is a natural generalization of graph coloring, with important applications in statistical physics. The problem of deciding whether any homomorphism exists was considered by Hell and Nešetřil. They showed that decision is NP-complete unless H has a loop or is bipartite; otherwise it is in P. We consider the problem of exactly counting such homomorphisms and give a similarly complete characterization. We show that counting is #P-complete unless every connected component of H is an isolated vertex without a loop, a complete graph with all loops present, or a complete unlooped bipartite graph; otherwise it is in P. We prove further that this remains true when G has bounded degree. In particular, our theorems provide the first proof of #P-completeness of the partition function of certain models from statistical physics, such as the Widom–Rowlinson model, even in graphs of maximum degree 3. Our results are proved using a mixture of spectral analysis, interpolation, and combinatorial arguments. © 2000 John Wiley & Sons, Inc. Random Struct. Alg., 17: 260–289, 2000

Keywords:
Homomorphism Mathematics Combinatorics Graph homomorphism Bipartite graph Discrete mathematics Bounded function Vertex (graph theory) Conjecture Graph Line graph Graph power

Metrics

18
Cited By
0.00
FWCI (Field Weighted Citation Impact)
0
Refs
0.39
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Markov Chains and Monte Carlo Methods
Physical Sciences →  Mathematics →  Statistics and Probability
Limits and Structures in Graph Theory
Physical Sciences →  Mathematics →  Discrete Mathematics and Combinatorics
Topological and Geometric Data Analysis
Physical Sciences →  Computer Science →  Computational Theory and Mathematics

Related Documents

JOURNAL ARTICLE

The complexity of counting graph homomorphisms

Martin DyerCatherine Greenhill

Journal:   Random Structures and Algorithms Year: 2000 Vol: 17 (3-4)Pages: 260-289
BOOK-CHAPTER

Complexity Dichotomies for Counting Graph Homomorphisms

Jin‐Yi CaiXi ChenPinyan Lu

Encyclopedia of Algorithms Year: 2016 Pages: 366-369
BOOK-CHAPTER

Complexity Dichotomies for Counting Graph Homomorphisms

Jin‐Yi CaiXi ChenPinyan Lu

Encyclopedia of Algorithms Year: 2015 Pages: 1-5
JOURNAL ARTICLE

The complexity of counting graph homomorphisms (extended abstract)

Martin DyerCatherine Greenhill

Journal:   Symposium on Discrete Algorithms Year: 2000 Pages: 246-255
BOOK-CHAPTER

Counting Graph Homomorphisms

Christian BorgsJennifer ChayesLászló LovászVera T. SósK. Vesztergombi

Algorithms and combinatorics Year: 2007 Pages: 315-371
© 2026 ScienceGate Book Chapters — All rights reserved.