# Counting edge-injective homomorphisms and matchings on restricted graph   classes

**Authors:** Radu Curticapean, Holger Dell, Marc Roth

arXiv: 1702.05447 · 2018-01-22

## TL;DR

This paper investigates the computational complexity of counting matchings and edge-injective homomorphisms in restricted graph classes, establishing hardness results and polynomial-time algorithms based on structural graph properties.

## Contribution

It proves 	extbackslash mathsf{W}[1]-hardness for counting matchings in line graphs and bipartite graphs with degree 2, and characterizes when counting edge-injective homomorphisms is polynomial or hard based on vertex-cover number.

## Key findings

- Counting matchings is 	extbackslash mathsf{W}[1]-hard on line graphs and bipartite graphs with degree 2.
- Edge-injective homomorphisms can be counted in polynomial time if the pattern graph has bounded vertex-cover number.
- Hardness results depend on the unboundedness of vertex-cover number in hereditary classes of pattern graphs.

## Abstract

We consider the $\#\mathsf{W}[1]$-hard problem of counting all matchings with exactly $k$ edges in a given input graph $G$; we prove that it remains $\#\mathsf{W}[1]$-hard on graphs $G$ that are line graphs or bipartite graphs with degree $2$ on one side. In our proofs, we use that $k$-matchings in line graphs can be equivalently viewed as edge-injective homomorphisms from the disjoint union of $k$ length-$2$ paths into (arbitrary) host graphs. Here, a homomorphism from $H$ to $G$ is edge-injective if it maps any two distinct edges of $H$ to distinct edges in $G$. We show that edge-injective homomorphisms from a pattern graph $H$ can be counted in polynomial time if $H$ has bounded vertex-cover number after removing isolated edges. For hereditary classes $\mathcal{H}$ of pattern graphs, we complement this result: If the graphs in $\mathcal{H}$ have unbounded vertex-cover number even after deleting isolated edges, then counting edge-injective homomorphisms with patterns from $\mathcal{H}$ is $\#\mathsf{W}[1]$-hard. Our proofs rely on an edge-colored variant of Holant problems and a delicate interpolation argument; both may be of independent interest.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1702.05447/full.md

## Figures

11 figures with captions in the complete paper: https://tomesphere.com/paper/1702.05447/full.md

## References

42 references — full list in the complete paper: https://tomesphere.com/paper/1702.05447/full.md

---
Source: https://tomesphere.com/paper/1702.05447