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

04/11/2023
by   Karl Bringmann, et al.
0

In this work we revisit the fundamental Single-Source Shortest Paths (SSSP) problem with possibly negative edge weights. A recent breakthrough result by Bernstein, Nanongkai and Wulff-Nilsen established a near-linear O(m log^8(n) log(W))-time algorithm for negative-weight SSSP, where W is an upper bound on the magnitude of the smallest negative-weight edge. In this work we improve the running time to O(m log^2(n) log(nW) loglog n), which is an improvement by nearly six log-factors. Some of these log-factors are easy to shave (e.g. replacing the priority queue used in Dijkstra's algorithm), while others are significantly more involved (e.g. to find negative cycles we design an algorithm reminiscent of noisy binary search and analyze it with drift analysis). As side results, we obtain an algorithm to compute the minimum cycle mean in the same running time as well as a new construction for computing Low-Diameter Decompositions in directed graphs.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
03/07/2022

Negative-Weight Single-Source Shortest Paths in Near-linear Time

We present a randomized algorithm that computes single-source shortest p...
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
03/01/2023

Parallel and Distributed Exact Single-Source Shortest Paths with Negative Edge Weights

This paper presents parallel and distributed algorithms for single-sourc...
research
11/08/2018

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

In the distributed all-pairs shortest paths problem (APSP), every node ...
research
09/15/2022

Algorithms and Lower Bounds for Replacement Paths under Multiple Edge Failures

This paper considers a natural fault-tolerant shortest paths problem: fo...
research
10/24/2018

Faster approximation algorithms for computing shortest cycles on weighted graphs

Given an n-vertex m-edge graph G with non negative edge-weights, the gir...
research
08/08/2018

A practical Single Source Shortest Path algorithm for random directed graphs with arbitrary weight in expecting linear time

In this paper we present a new algorithm called Raffica algorithm for Si...

Please sign up or login with your details

Forgot password? Click here to reset