A Deterministic Parallel APSP Algorithm and its Applications

01/07/2021
by   Adam Karczmarz, et al.
0

In this paper we show a deterministic parallel all-pairs shortest paths algorithm for real-weighted directed graphs. The algorithm has Õ(nm+(n/d)^3) work and Õ(d) depth for any depth parameter d∈ [1,n]. To the best of our knowledge, such a trade-off has only been previously described for the real-weighted single-source shortest paths problem using randomization [Bringmann et al., ICALP'17]. Moreover, our result improves upon the parallelism of the state-of-the-art randomized parallel algorithm for computing transitive closure, which has Õ(nm+n^3/d^2) work and Õ(d) depth [Ullman and Yannakakis, SIAM J. Comput. '91]. Our APSP algorithm turns out to be a powerful tool for designing efficient planar graph algorithms in both parallel and sequential regimes. One notable ingredient of our parallel APSP algorithm is a simple deterministic Õ(nm)-work Õ(d)-depth procedure for computing Õ(n/d)-size hitting sets of shortest d-hop paths between all pairs of vertices of a real-weighted digraph. Such hitting sets have also been called d-hub sets. Hub sets have previously proved especially useful in designing parallel or dynamic shortest paths algorithms and are typically obtained via random sampling. Our procedure implies, for example, an Õ(nm)-time deterministic algorithm for finding a shortest negative cycle of a real-weighted digraph. Such a near-optimal bound for this problem has been so far only achieved using a randomized algorithm [Orlin et al., Discret. Appl. Math. '18].

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/04/2019

Reliable Hubs for Partially-Dynamic All-Pairs Shortest Paths in Directed Graphs

We give new partially-dynamic algorithms for the all-pairs shortest path...
research
04/15/2018

A Deterministic Distributed Algorithm for Exact Weighted All-Pairs Shortest Paths in Õ(n^3/2) Rounds

We present a deterministic distributed algorithm to compute all-pairs sh...
research
09/30/2020

Deterministic PRAM Approximate Shortest Paths in Polylogarithmic Time and Slightly Super-Linear Work

We study a (1+ϵ)-approximate single-source shortest paths (henceforth, (...
research
02/12/2019

Performance of All-Pairs Shortest-Paths Solvers with Apache Spark

Algorithms for computing All-Pairs Shortest-Paths (APSP) are critical bu...
research
10/28/2021

Improved Strongly Polynomial Algorithms for Deterministic MDPs, 2VPI Feasibility, and Discounted All-Pairs Shortest Paths

We revisit the problem of finding optimal strategies for deterministic M...
research
03/12/2019

Near-Optimal Algorithms for Shortest Paths in Weighted Unit-Disk Graphs

We revisit a classical graph-theoretic problem, the single-source shorte...
research
03/28/2019

More Parallelism in Dijkstra's Single-Source Shortest Path Algorithm

Dijkstra's algorithm for the Single-Source Shortest Path (SSSP) problem ...

Please sign up or login with your details

Forgot password? Click here to reset