Distributed Exact Weighted All-Pairs Shortest Paths in Near-Linear Time

11/08/2018
by   Aaron Bernstein, et al.
0

In the distributed all-pairs shortest paths problem (APSP), every node in the weighted undirected distributed network (the CONGEST model) needs to know the distance from every other node using least number of communication rounds (typically called time complexity). The problem admits (1+o(1))-approximation Θ̃(n)-time algorithm and a nearly-tight Ω̃(n) lower bound [Nanongkai, STOC'14; Lenzen and Patt-Shamir PODC'15][Θ̃, Õ and Ω̃ hide polylogarithmic factors. Note that the lower bounds also hold even in the unweighted case and in the weighted case with polynomial approximation ratios LenzenP_podc13,HolzerW12,PelegRT12,Nanongkai-STOC14.]. For the exact case, Elkin [STOC'17] presented an O(n^5/3^2/3 n) time bound, which was later improved to Õ(n^5/4) [Huang, Nanongkai, Saranurak FOCS'17]. It was shown that any super-linear lower bound (in n) requires a new technique [Censor-Hillel, Khoury, Paz, DISC'17], but otherwise it remained widely open whether there exists a Õ(n)-time algorithm for the exact case, which would match the best possible approximation algorithm. This paper resolves this question positively: we present a randomized (Las Vegas) Õ(n)-time algorithm, matching the lower bound up to polylogarithmic factors. Like the previous Õ(n^5/4) bound, our result works for directed graphs with zero (and even negative) edge weights. In addition to the improved running time, our algorithm works in a more general setting than that required by the previous Õ(n^5/4) bound; in our setting (i) the communication is only along edge directions (as opposed to bidirectional), and (ii) edge weights are arbitrary (as opposed to integers in 1, 2, ... poly(n)). ...

READ FULL TEXT

page 1

page 2

page 3

page 4

research
12/25/2017

Improved Distributed Algorithms for Exact Shortest Paths

Computing shortest paths is one of the central problems in the theory of...
research
11/14/2022

Bellman-Ford is optimal for shortest hop-bounded paths

This paper is about the problem of finding a shortest s-t path using at ...
research
02/20/2018

The parameterized complexity of finding a 2-sphere in a simplicial complex

We consider the problem of finding a subcomplex K' of a simplicial compl...
research
02/24/2019

Latency, Capacity, and Distributed MST

Consider the problem of building a minimum-weight spanning tree for a gi...
research
07/09/2023

A Randomized Algorithm for Single-Source Shortest Path on Undirected Real-Weighted Graphs

In undirected graphs with real non-negative weights, we give a new rando...
research
04/11/2023

Negative-Weight Single-Source Shortest Paths in Near-Linear Time: Now Faster!

In this work we revisit the fundamental Single-Source Shortest Paths (SS...
research
08/30/2020

Tight Bound for the Number of Distinct Palindromes in a Tree

For an undirected tree with n edges labelled by single letters, we consi...

Please sign up or login with your details

Forgot password? Click here to reset