Approximating cycles in directed graphs: Fast algorithms for girth and roundtrip spanners

Jakub Pachocki, Liam Roditty, Aaron Sidford, Roei Tov, Virginia Vassilevska Williams

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

20 Scopus citations

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 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.

Original languageEnglish
Title of host publication29th Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2018
EditorsArtur Czumaj
PublisherAssociation for Computing Machinery
Pages1374-1392
Number of pages19
ISBN (Electronic)9781611975031
DOIs
StatePublished - 2018
Event29th Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2018 - New Orleans, United States
Duration: 7 Jan 201810 Jan 2018

Publication series

NameProceedings of the Annual ACM-SIAM Symposium on Discrete Algorithms

Conference

Conference29th Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2018
Country/TerritoryUnited States
CityNew Orleans
Period7/01/1810/01/18

Bibliographical note

Publisher Copyright:
© Copyright 2018 by SIAM.

Fingerprint

Dive into the research topics of 'Approximating cycles in directed graphs: Fast algorithms for girth and roundtrip spanners'. Together they form a unique fingerprint.

Cite this