Directed shortest paths via approximate cost balancing
Orlin, J. B. & Végh, L. A.
(2023).
Directed shortest paths via approximate cost balancing.
Journal of the ACM,
70(1).
https://doi.org/10.1145/3565019
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 [31] for the all-pairs problems in undirected graphs. The main insight is that shortest paths problems with approximately balanced directed cost functions can be solved similarly to the undirected case. The algorithm finds an approximately balanced reduced cost function in an O(m √ n log n) preprocessing step. 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 can also be applied to the ℓ∞-matrix balancing problem.
| Item Type | Article |
|---|---|
| Copyright holders | © 2022 The Authors |
| Departments | LSE > Academic Departments > Mathematics |
| DOI | 10.1145/3565019 |
| Date Deposited | 31 Oct 2022 |
| Acceptance Date | 04 Sep 2022 |
| URI | https://researchonline.lse.ac.uk/id/eprint/117210 |
Explore Further
- https://www.lse.ac.uk/Mathematics/people/Laszlo-Vegh (Author)
- https://www.scopus.com/pages/publications/85147248541 (Scopus publication)
- https://dl.acm.org/journal/jacm (Official URL)
ORCID: https://orcid.org/0000-0003-1152-200X