The Complexity of Pattern Counting in Directed Graphs, Parameterised by the Outdegree
arXiv:2211.01905
Abstract
We study the fixed-parameter tractability of the following fundamental problem: given two directed graphs and , count the number of copies of in . The standard setting, where the tractability is well understood, uses only as a parameter. In this paper we take a step forward, and adopt as a parameter , where is the maximum outdegree of . 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 . On the one hand we give algorithms with running time and for counting respectively the copies and induced copies of in ; on the other hand we show that, unless the Exponential Time Hypothesis fails, for any class of directed graphs the (induced) counting problem is fixed-parameter tractable if and only if () 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.
47 pages, 1 figure, abstract shortened due to arXiv requirements