Distributed Algorithms for Network Diameter and Girth

This paper considers the problem of computing the diameter D and the girth g of an n-node network in the CONGEST distributed model. In this model, in each synchronous round, each vertex can transmit a different short (say, O(logn) bits) message to each of its neighbors. We present a distributed algorithm that computes the diameter of the network in O(n) rounds. We also present two distributed approximation algorithms. The first computes a 2/3 multiplicative approximation of the diameter in $O(D\sqrt n \log n)$ rounds. The second computes a 2−1/g multiplicative approximation of the girth in $O(D+\sqrt{gn}\log n)$ rounds. Recently, Frischknecht, Holzer and Wattenhofer [11] considered these problems in the CONGEST model but from the perspective of lower bounds. They showed an $\tilde{\Omega}(n)$ rounds lower bound for exact diameter computation. For diameter approximation, they showed a lower bound of $\tilde{\Omega}(\sqrt n)$ rounds for getting a multiplicative approximation of. Both lower bounds hold for networks with constant diameter. For girth approximation, they showed a lower bound of $\tilde{\Omega}(\sqrt n)$ rounds for getting a multiplicative approximation of on a network with constant girth. Our exact algorithm for computing the diameter matches their lower bound. Our diameter and girth approximation algorithms almost match their lower bounds for constant diameter and for constant girth.

[1]  Alon Itai,et al.  Finding a Minimum Circuit in a Graph , 1978, SIAM J. Comput..

[2]  Roger Wattenhofer,et al.  Optimal distributed all pairs shortest paths and applications , 2012, PODC '12.

[3]  Uri Zwick,et al.  All pairs shortest paths using bridging sets and rectangular matrix multiplication , 2000, JACM.

[4]  Adrian Segall,et al.  Distributed network protocols , 1983, IEEE Trans. Inf. Theory.

[5]  Daniele Frigioni,et al.  Partially Dynamic Algorithms for Distributed Shortest Paths and their Experimental Evaluation , 2007, J. Comput..

[6]  Liam Roditty,et al.  Minimum Weight Cycles and Triangles: Equivalences and Algorithms , 2011, 2011 IEEE 52nd Annual Symposium on Foundations of Computer Science.

[7]  Raphael Yuster,et al.  Computing the diameter polynomially faster than APSP , 2010, ArXiv.

[8]  Paulo Sérgio Almeida,et al.  Fast distributed computation of distances in networks , 2011, 2012 IEEE 51st IEEE Conference on Decision and Control (CDC).

[9]  Uri Zwick,et al.  All-Pairs Almost Shortest Paths , 1997, SIAM J. Comput..

[10]  Michael Elkin Computing almost shortest paths , 2005 .

[11]  Roger Wattenhofer,et al.  Networks cannot compute their diameter in sublinear time , 2012, SODA.

[12]  Liam Roditty,et al.  Approximating the Girth , 2013, TALG.

[13]  S. Haldar An 'All Pairs Shortest Paths' Distributed Algorithm Using 2n² Messages , 1997, J. Algorithms.

[14]  John K. Antonio,et al.  A Fast Distributed Shortest Path Algorithm for a Class of Hierarchically Clustered Data Networks , 1992, IEEE Trans. Computers.

[15]  Raimund Seidel,et al.  On the All-Pairs-Shortest-Path Problem in Unweighted Undirected Graphs , 1995, J. Comput. Syst. Sci..

[16]  Kurt Mehlhorn,et al.  Cycle bases in graphs characterization, algorithms, complexity, and applications , 2009, Comput. Sci. Rev..

[17]  Raphael Yuster,et al.  Approximation algorithms for cycle packing problems , 2005, SODA '05.

[18]  Andrzej Lingas,et al.  Efficient approximation algorithms for shortest cycles in undirected graphs , 2008, Inf. Process. Lett..

[19]  Liam Roditty,et al.  Subquadratic time approximation algorithms for the girth , 2012, SODA.

[20]  Edsger W. Dijkstra,et al.  A note on two problems in connexion with graphs , 1959, Numerische Mathematik.

[21]  David Peleg,et al.  Distributed Computing: A Locality-Sensitive Approach , 1987 .

[22]  Stephen Warshall,et al.  A Theorem on Boolean Matrices , 1962, JACM.

[23]  Piotr Indyk,et al.  Fast estimation of diameter and shortest paths (without matrix multiplication) , 1996, SODA '96.

[24]  Edith Cohen,et al.  All-pairs small-stretch paths , 1997, SODA '97.

[25]  Israel Cidon,et al.  Local Distributed Deadlock Detection by Cycle Detection and Clusterng , 1987, IEEE Transactions on Software Engineering.

[26]  Telikepalli Kavitha,et al.  Faster Algorithms for Approximate Distance Oracles and All-Pairs Small Stretch Paths , 2006, 2006 47th Annual IEEE Symposium on Foundations of Computer Science (FOCS'06).