Modular counting of subgraphs: Matchings, matching-splittable graphs, and paths

07/01/2021
by   Radu Curticapean, et al.
0

We systematically investigate the complexity of counting subgraph patterns modulo fixed integers. For example, it is known that the parity of the number of k-matchings can be determined in polynomial time by a simple reduction to the determinant. We generalize this to an n^f(t,s)-time algorithm to compute modulo 2^t the number of subgraph occurrences of patterns that are s vertices away from being matchings. This shows that the known polynomial-time cases of subgraph detection (Jansen and Marx, SODA 2015) carry over into the setting of counting modulo 2^t. Complementing our algorithm, we also give a simple and self-contained proof that counting k-matchings modulo odd integers q is Mod_q-W[1]-complete and prove that counting k-paths modulo 2 is Parity-W[1]-complete, answering an open question by Björklund, Dell, and Husfeldt (ICALP 2015).

READ FULL TEXT

page 5

page 6

page 7

page 9

page 13

page 15

page 17

page 19

research
08/18/2023

Counting and Sampling Labeled Chordal Graphs in Polynomial Time

We present the first polynomial-time algorithm to exactly compute the nu...
research
12/25/2019

Neural Subgraph Isomorphism Counting

In this paper, we study a new graph learning problem: learning to count ...
research
06/30/2020

Counting Homomorphisms to K_4-minor-free Graphs, modulo 2

We study the problem of computing the parity of the number of homomorphi...
research
08/20/2023

Computational complexity of counting coincidences

Can you decide if there is a coincidence in the numbers counting two dif...
research
12/18/2017

Experimental Evaluation of Counting Subgraph Isomorphisms in Classes of Bounded Expansion

Counting subgraph isomorphisms (also called motifs or graphlets) has bee...
research
11/06/2019

Permutations With Restricted Movement

We study restricted permutations of sets which have a geometrical struct...
research
06/20/2023

On the power of counting the total number of computation paths of NPTMs

Complexity classes defined by modifying the acceptance condition of NP c...

Please sign up or login with your details

Forgot password? Click here to reset