All-Pairs 2-Reachability in $\mathcal{O}(n^{\omega}\log n)$ Time
Abstract
In the -reachability problem we are given a directed graph and we wish to determine if there are two (edge or vertex) disjoint paths from to , for a given pair of vertices and . In this paper, we present an algorithm that computes -reachability information for all pairs of vertices in time, where is the number of vertices and is the matrix multiplication exponent. Hence, we show that the running time of all-pairs -reachability is only within a factor of transitive closure. Moreover, our algorithm produces a witness (i.e., a separating edge or a separating vertex) for all pair of vertices where -reachability does not hold. By processing these witnesses, we can compute all the edge- and vertex-dominator trees of in additional time, which in turn enables us to answer various connectivity queries in time. For instance, we can test in constant time if there is a path from to avoiding an edge , for any pair of query vertices and , and any query edge , or if there is a path from to avoiding a vertex , for any query vertices , , and .
Cite
@article{arxiv.1612.08075,
title = {All-Pairs 2-Reachability in $\mathcal{O}(n^{\omega}\log n)$ Time},
author = {Loukas Georgiadis and Daniel Graf and Giuseppe F. Italiano and Nikos Parotsidis and Przemysław Uznański},
journal= {arXiv preprint arXiv:1612.08075},
year = {2017}
}
Comments
27 pages. Full version of ICALP'17 abstract