DeepAI AI Chat
Log In Sign Up

Near Optimal Algorithm for the Directed Single Source Replacement Paths Problem

04/28/2020
by   Shiri Chechik, et al.
0

In the Single Source Replacement Paths (SSRP) problem we are given a graph G = (V, E), and a shortest paths tree K rooted at a node s, and the goal is to output for every node t ∈ V and for every edge e in K the length of the shortest path from s to t avoiding e. We present an Õ(m√(n) + n^2) time randomized combinatorial algorithm for unweighted directed graphs. Previously such a bound was known in the directed case only for the seemingly easier problem of replacement path where both the source and the target nodes are fixed. Our new upper bound for this problem matches the existing conditional combinatorial lower bounds. Hence, (assuming these conditional lower bounds) our result is essentially optimal and completes the picture of the SSRP problem in the combinatorial setting. Our algorithm extends to the case of small, rational edge weights. We strengthen the existing conditional lower bounds in this case by showing that any O(mn^1/2-ϵ) time (combinatorial or algebraic) algorithm for some fixed ϵ >0 yields a truly subcubic algorithm for the weighted All Pairs Shortest Paths problem (previously such a bound was known only for the combinatorial setting).

READ FULL TEXT

page 1

page 2

page 3

page 4

05/19/2020

Multiple Source Replacement Path Problem

One of the classical line of work in graph algorithms has been the Repla...
12/21/2017

Tight Hardness for Shortest Cycles and Paths in Sparse Graphs

Fine-grained reductions have established equivalences between many core ...
03/07/2022

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

We present a randomized algorithm that computes single-source shortest p...
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...
10/04/2020

Kidney exchange and endless paths: On the optimal use of an altruistic donor

We consider a well-studied online random graph model for kidney exchange...
11/02/2022

Deep Distance Sensitivity Oracles

One of the most fundamental graph problems is finding a shortest path fr...
04/23/2022

Evaluating regular path queries under the all-shortest paths semantics

The purpose of this report is to explain how the textbook breadth-first ...