Approximating Cycles in Directed Graphs: Fast Algorithms for Girth and Roundtrip Spanners
Abstract
The girth of a graph, i.e. the length of its shortest cycle, is a fundamental graph parameter. Unfortunately all known algorithms for computing, even approximately, the girth and girth-related structures in directed weighted -edge and -node graphs require time (for ). In this paper, we drastically improve these runtimes as follows: * Multiplicative Approximations in Nearly Linear Time: We give an algorithm that in time computes an -multiplicative approximation of the girth as well as an -multiplicative roundtrip spanner with edges with high probability (w.h.p). * Nearly Tight Additive Approximations: For unweighted graphs and any we give an algorithm that in time computes an -additive approximation of the girth w.h.p, and partially derandomize it. We show that the runtime of our algorithm cannot be significantly improved without a breakthrough in combinatorial Boolean matrix multiplication. Our main technical contribution to achieve these results is the first nearly linear time algorithm for computing roundtrip covers, a directed graph decomposition concept key to previous roundtrip spanner constructions. Previously it was not known how to compute these significantly faster than time. Given the traditional difficulty in efficiently processing directed graphs, we hope our techniques may find further applications.
Cite
@article{arxiv.1611.00721,
title = {Approximating Cycles in Directed Graphs: Fast Algorithms for Girth and Roundtrip Spanners},
author = {Jakub Pachocki and Liam Roditty and Aaron Sidford and Roei Tov and Virginia Vassilevska Williams},
journal= {arXiv preprint arXiv:1611.00721},
year = {2018}
}
Comments
this is a revision of the original submission that fixes an error (the original submission claimed that the additive approximation algorithm also works for roundtrip spanners; this is false)