Directed Shortest Paths via Approximate Cost Balancing

07/15/2020
by   James B. Orlin, et al.
0

We present an O(nm) algorithm for all-pairs shortest paths computations in a directed graph with n nodes, m arcs, and nonnegative integer arc costs. This matches the complexity bound attained by Thorup (1999) for the all-pairs problems in undirected graphs. Our main insight is that shortest paths problems with approximately balanced directed cost functions can be solved similarly to the undirected case. Our algorithm starts with an O(m√(n)log n) preprocessing step that finds a 3-min-balanced reduced cost function. Using these reduced costs, every shortest path query can be solved in O(m) time using an adaptation of Thorup's component hierarchy method. The balancing result is of independent interest, and gives the best currently known approximate balancing algorithm for the problem.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
11/13/2022

A Local-to-Global Theorem for Congested Shortest Paths

Amiri and Wargalla (2020) proved the following local-to-global theorem i...
research
10/28/2022

Parallel Breadth-First Search and Exact Shortest Paths and Stronger Notions for Approximate Distances

We introduce stronger notions for approximate single-source shortest-pat...
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
02/17/2021

Constructing a Distance Sensitivity Oracle in O(n^2.5794M) Time

We continue the study of distance sensitivity oracles (DSOs). Given a di...
research
09/17/2020

Near-Optimal Decremental Approximate Multi-Source Shortest Paths

We provide new algorithms for maintaining approximate distances in a wei...
research
12/18/2017

No truthful mechanism can be better than n approximate for two natural problems

This work gives the first natural non-utilitarian problems for which the...
research
03/17/2023

A Comparison of Dijkstra's Algorithm Using Fibonacci Heaps, Binary Heaps, and Self-Balancing Binary Trees

This paper describes the shortest path problem in weighted graphs and ex...

Please sign up or login with your details

Forgot password? Click here to reset