The Complexity of Counting Homomorphisms to Cactus Graphs Modulo 2
Authors:
- Andreas GöbelAGAndreas Göbel
Preprint
Abstract
A homomorphism from a graph G to a graph H is a function from V(G) to V(H) that preserves edges. Many combinatorial structures that arise in mathematics and in computer science can be represented naturally as graph homomorphisms and as weighted sums of graph homomorphisms. In this paper, we study the complexity of counting homomorphisms modulo 2. The complexity of modular counting was introduced by Papadimitriou and Zachos and it has been pioneered by Valiant who famously introduced a problem for which counting modulo 7 is easy where counting modulo 2 is intractable. Modular counting provides a rich setting in which to study the structure of homomorphism problems. In this case the structure of the graph H has a big influence on the complexity of the problem. Thus, our approach is graph-theoretic. We give a complete solution for the class of cactus graphs, which are connected graphs in which every edge belongs to at most one cycle. Cactus graphs arise in many applications such as the modelling of wireless sensor networks and the comparison of genomes. We show that for some cactus graphs H, counting homomorphisms to H modulo 2 can be done in polynomial time. For every other fixed cactus graph H, the problem is complete in the complexity class Parity-P which is a wide complexity class to which every problem in the polynomial hierarchy can be reduced (using randomised reductions). Determining which H lead to tractable problems can be done in polynomial time. Our result builds upon the work of Faben, who gave a dichotomy for the case in which H is a tree.Keywords
All Related Versions
This publication has 10 references indexed in Scilit:
- The Complexity of Symmetric Boolean Parity Holant ProblemsSIAM Journal on Computing, 2013
- Centdian Computation in Cactus GraphsJournal of Graph Algorithms and Applications, 2012
- A Complexity Dichotomy for Partition Functions with Mixed SignsSIAM Journal on Computing, 2010
- The Complexity of Weighted Boolean #CSPSIAM Journal on Computing, 2009
- Efficient algorithms for center problems in cactus networksTheoretical Computer Science, 2007
- PP is as Hard as the Polynomial-Time HierarchySIAM Journal on Computing, 1991
- On the construction of parallel computers from various bases of boolean functionsTheoretical Computer Science, 1986
- Another Proof of Cauchy's Group TheoremThe American Mathematical Monthly, 1959
- On the Number of Husimi TreesProceedings of the National Academy of Sciences, 1953
- Sur les assemblages de lignes.Journal für die reine und angewandte Mathematik (Crelles Journal), 1869