A Fully Polynomial Parameterized Algorithm for Counting the Number of Reachable Vertices in a Digraph
Abstract
We consider the problem of counting the number of vertices reachable from each vertex in a digraph , which is equal to computing all the out-degrees of the transitive closure of . The current (theoretically) fastest algorithms run in quadratic time; however, Borassi has shown that this probl m is not solvable in truly subquadratic time unless the Strong Exponential Time Hypothesis fails [Inf. Process. Lett., 116(10):628--630, 2016]. In this paper, we present an -time exact algorithm, where is the number of vertices in and is the feedback edge number of . Our algorithm thus runs in truly subquadratic time for digraphs of for any , i.e., the number of edges is plus , and is fully polynomial fixed parameter tractable, the notion of which was first introduced by Fomin, Lokshtanov, Pilipczuk, Saurabh, and Wrochna [ACM Trans. Algorithms, 14(3):34:1--34:45, 2018]. We also show that the same result holds for vertex-weighted digraphs, where the task is to compute the total weights of vertices reachable from each vertex.
Cite
@article{arxiv.2103.04595,
title = {A Fully Polynomial Parameterized Algorithm for Counting the Number of Reachable Vertices in a Digraph},
author = {Naoto Ohsaka},
journal= {arXiv preprint arXiv:2103.04595},
year = {2022}
}
Comments
minor changes, acknowledgments added