{"id":"arxiv:2007.07975","kind":"article","title":"Directed Shortest Paths via Approximate Cost Balancing","authors":["James B. Orlin","László A. Végh"],"author_count":2,"year":2020,"published":"2020-07-15","venue":"Society for Industrial and Applied Mathematics eBooks","cited_by":3,"doi":"10.1137/1.9781611976465.16","arxiv_id":"2007.07975","nct_id":null,"source_url":"https://arxiv.org/abs/2007.07975","archive_url":"https://space-kitty.com/papers/arxiv:2007.07975","updated":"2022-11-30","pmid":null,"pmcid":null,"openalex_id":"W3042779841","pdf_url":"https://arxiv.org/pdf/2007.07975","abstract":"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 \\cite{Thorup1999} 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\\sqrt{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 $\\ell_\\infty$-matrix balancing problem.","abstract_license":"CC0-1.0 (arXiv descriptive metadata)","license":null,"is_open_access":false,"retracted":false,"peer_reviewed":null,"categories":["cs.DS","math.OC"],"details":null,"provenance":"arxiv","attribution":"Abstract: arXiv descriptive metadata (CC0). Thank you to arXiv for use of its open access interoperability. This service was not reviewed or approved by, nor does it necessarily express or reflect the policies or opinions of, arXiv.","topics":[{"slug":"algorithms-complexity","name":"Algorithms & Complexity Breakthroughs","domain_slug":"math-cs"}],"cited_in_dossiers":[]}