English

New and Simplified Distributed Algorithms for Weighted All Pairs Shortest Paths

Data Structures and Algorithms 2018-10-22 v1 Distributed, Parallel, and Cluster Computing

Abstract

We consider the problem of computing all pairs shortest paths (APSP) and shortest paths for k sources in a weighted graph in the distributed CONGEST model. For graphs with non-negative integer edge weights (including zero weights) we build on a recent pipelined algorithm to obtain O~(λ1/4n5/4)\tilde{O}(\lambda^{1/4}\cdot n^{5/4}) in graphs with non-negative integer edge-weight at most λ\lambda, and O~(n1/3)\tilde{O}(n \cdot \bigtriangleup^{1/3}) rounds for shortest path distances at most \bigtriangleup. Additionally, we simplify some of the procedures in the earlier APSP algorithms for non-negative edge weights in [HNS17,ARKP18]. We also present results for computing h-hop shortest paths and shortest paths from kk given sources. In other results, we present a randomized exact APSP algorithm for graphs with arbitrary edge weights that runs in O~(n4/3)\tilde{O}(n^{4/3}) rounds w.h.p. in n, which improves the previous best O~(n3/2)\tilde{O}(n^{3/2}) bound, which is deterministic. We also present an O~(n/ϵ2)\tilde{O}(n/\epsilon^2)-round deterministic (1+ϵ)(1+\epsilon) approximation algorithm for graphs with non-negative poly(n)poly(n) integer weights (including zero edge-weights), improving results in [Nanongkai14,LP15] that hold only for positive integer weights.

Keywords

Cite

@article{arxiv.1810.08544,
  title  = {New and Simplified Distributed Algorithms for Weighted All Pairs Shortest Paths},
  author = {Udit Agarwal and Vijaya Ramachandran},
  journal= {arXiv preprint arXiv:1810.08544},
  year   = {2018}
}

Comments

arXiv admin note: text overlap with arXiv:1807.08824

R2 v1 2026-06-23T04:46:01.193Z