A Deterministic Distributed Algorithm for Weighted All Pairs Shortest Paths Through Pipelining.

We present a new pipelined approach to compute all pairs shortest paths (APSP) in a directed graph with nonnegative integer edge weights (including zero weights) in the CONGEST model in the distributed setting. Our deterministic distributed algorithm computes shortest paths of distance at most $\Delta$ for all pairs of vertices in at most $2 n \sqrt{\Delta} + 2n$ rounds, and more generally, it computes h-hop shortest paths for k sources in $2\sqrt{nkh} + n + k$ rounds. The algorithm is simple, and it has some novel features and a nontrivial analysis.It uses only the directed edges in the graph for communication. This algorithm can be used as a base within asymptotically faster algorithms that match or improve on the current best deterministic bound of $\tilde{O}(n^{3/2})$ rounds for this problem when edge weights are $O(n)$ or shortest path distances are $\tilde{O}(n^{3/2})$.

[1]  Christoph Lenzen,et al.  Efficient distributed source detection with limited bandwidth , 2013, PODC '13.

[2]  Mohsen Ghaffari,et al.  Near-Optimal Scheduling of Distributed Algorithms , 2015, PODC.

[3]  Vijaya Ramachandran,et al.  New and Simplified Distributed Algorithms for Weighted All Pairs Shortest Paths , 2018, ArXiv.

[4]  Michael Elkin,et al.  Distributed exact shortest paths in sublinear time , 2017, STOC.

[5]  Matteo Pontecorvi,et al.  A Deterministic Distributed Algorithm for Exact Weighted All-Pairs Shortest Paths in Õ(n 3/2 ) Rounds , 2018, PODC.

[6]  Mohsen Ghaffari,et al.  Improved distributed algorithms for exact shortest paths , 2018, STOC.

[7]  Harold N. Gabow Scaling Algorithms for Network Problems , 1985, J. Comput. Syst. Sci..

[8]  Danupon Nanongkai,et al.  Distributed approximation algorithms for weighted shortest paths , 2014, STOC.

[9]  Boaz Patt-Shamir,et al.  Fast Partial Distance Estimation and Applications , 2014, PODC.

[10]  Danupon Nanongkai,et al.  A Faster Distributed Single-Source Shortest Paths Algorithm , 2017, 2018 IEEE 59th Annual Symposium on Foundations of Computer Science (FOCS).

[11]  Danupon Nanongkai,et al.  Distributed Exact Weighted All-Pairs Shortest Paths in $\tilde O(n^{5/4})$ Rounds , 2017 .

[12]  Matteo Pontecorvi,et al.  Distributed Algorithms for Directed Betweenness Centrality and All Pairs Shortest Paths , 2018, ArXiv.

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