The Complexity of Pattern Counting in Directed Graphs, Parameterised by the Outdegree

11/03/2022
by   Marco Bressan, et al.
0

We study the fixed-parameter tractability of the following fundamental problem: given two directed graphs H⃗ and G⃗, count the number of copies of H⃗ in G⃗. The standard setting, where the tractability is well understood, uses only |H⃗| as a parameter. In this paper we take a step forward, and adopt as a parameter |H⃗|+d(G⃗), where d(G⃗) is the maximum outdegree of |G⃗|. Under this parameterization, we completely characterize the fixed-parameter tractability of the problem in both its non-induced and induced versions through two novel structural parameters, the fractional cover number ρ^* and the source number α_s. On the one hand we give algorithms with running time f(|H⃗|,d(G⃗)) · |G⃗|^ρ^*(H⃗)+O(1) and f(|H⃗|,d(G⃗)) · |G⃗|^α_s(H⃗)+O(1) for counting respectively the copies and induced copies of H⃗ in G⃗; on the other hand we show that, unless the Exponential Time Hypothesis fails, for any class C⃗ of directed graphs the (induced) counting problem is fixed-parameter tractable if and only if ρ^*(C⃗) (α_s(C⃗)) is bounded. These results explain how the orientation of the pattern can make counting easy or hard, and prove that a classic algorithm by Chiba and Nishizeki and its extensions (Chiba, Nishizeki SICOMP 85; Bressan Algorithmica 21) are optimal unless ETH fails.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
03/09/2021

Exact and Approximate Pattern Counting in Degenerate Graphs: New Algorithms, Hardness Results, and Complexity Dichotomies

We study the problems of counting the homomorphisms, counting the copies...
research
05/05/2018

On degeneracy and the parameterized complexity of subgraph counting

We study the complexity of counting the (induced) occurrences of a k-nod...
research
06/14/2022

Counting Markov Equivalent Directed Acyclic Graphs Consistent with Background Knowledge

A polynomial-time exact algorithm for counting the number of directed ac...
research
09/07/2022

Counting Subgraphs in Somewhere Dense Graphs

We study the problems of counting copies and induced copies of a small p...
research
10/16/2020

Near-Linear Time Homomorphism Counting in Bounded Degeneracy Graphs: The Barrier of Long Induced Cycles

Counting homomorphisms of a constant sized pattern graph H in an input g...
research
01/15/2020

A color-avoiding approach to subgraph counting in bounded expansion classes

We present an algorithm to count the number of occurrences of a pattern ...
research
07/14/2020

Component Order Connectivity in Directed Graphs

A directed graph D is semicomplete if for every pair x,y of vertices of ...

Please sign up or login with your details

Forgot password? Click here to reset