arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2007.07975cs.DSmath.OC

Directed Shortest Paths via Approximate Cost Balancing

James B. Orlin, László A. Végh

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑