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 m-edge and n-node graphs require (minfn!;mng) time (for 2 ≤ ω < 2:373). In this paper, we drastically improve these runtimes as follows: Multiplicative Approximations in Nearly Linear Time: We give an algorithm that in Õ (m) time computes an Õ (1)-multiplicative approximation of the girth as well as an Õ (1)-multiplicative roundtrip spanner with Õ (n) edges with high probability (w.h.p). Nearly Tight Additive Approximations: For unweighted graphs and any a 2 (0; 1) we give an algorithm that in Õ (mn1-) time computes an O(na)-additive approximation of the girth, w.h.p. We show that the runtime of our algorithm cannot be significantly improved without a breakthrough in combinatorial boolean matrix multiplication. We also show that if the girth is O(na), then the same guarantee can be achieved via a deterministic algorithm. 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 (mn) time. Given the traditional difficulty in efficiently processing directed graphs, we hope our techniques may find further applications.
CITATION STYLE
Pachocki, J., Roditty, L., Sidford, A., Tov, R., & Williams, V. V. (2018). Approximating cycles in directed graphs: Fast algorithms for girth and roundtrip spanners. In Proceedings of the Annual ACM-SIAM Symposium on Discrete Algorithms (pp. 1374–1392). Association for Computing Machinery. https://doi.org/10.1137/1.9781611975031.91
Mendeley helps you to discover research relevant for your work.