Directed shortest paths via approximate cost balancing

Orlin, J. B. & Végh, L. A.ORCID logo (2022). Directed shortest paths via approximate cost balancing. In Marx, D. (Ed.), ACM-SIAM Symposium on Discrete Algorithms, SODA 2021 (pp. 235 - 254). Association for Computing Machinery. https://doi.org/10.1137/1.9781611976465.16
Copy

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 [26] 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.

mail Request Copy

subject
Accepted Version
lock_clock
Restricted to Repository staff only until 1 January 2100

Request Copy

Export as

EndNote BibTeX Reference Manager Refer Atom Dublin Core JSON Multiline CSV
Export