arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2410.23383cs.DS
收藏

打破Bellman-Ford最短路径时间界

Breaking the Bellman-Ford Shortest-Path Bound

Amr Elmasry

AI总结:

本研究提出一种单源最短路径算法,通过调用改进版Dijkstra算法将输入图转为非负权重图,打破了Bellman-Ford-Moore算法保持65年以上的$O(n·m)$时间界。

摘要:

本文提出了一种单源最短路径算法,在时隔65年多之后打破了Bellman-Ford-Moore算法$O(n \cdot m)$的运行时间界,其中$n$为图的顶点数,$m$为图的弧数。该算法通过调用至多$\min(2 \cdot \sqrt{n},2 \cdot \sqrt{m/\log n})$次改进版Dijkstra算法,将输入图转化为权重非负的图,且新图与原图的最短路径树完全一致。当使用斐波那契堆实现Dijkstra算法时,本算法的运行时间为$O(\sqrt{n} \cdot m + n \cdot \sqrt{m \log n})$。

英文摘要:

In this paper we give a single-source shortest-path algorithm that breaks, after over 65 years, the $O(n \cdot m)$ bound for the running time of the Bellman-Ford-Moore algorithm, where $n$ is the number of vertices and $m$ is the number of arcs of the graph. Our algorithm converts the input graph to a graph with nonnegative weights by performing at most $\min(2 \cdot \sqrt{n},2 \cdot \sqrt{m/\log n})$ calls to a modified version of Dijkstra's algorithm, such that the shortest-path trees are the same for the new graph as those for the original. When Dijkstra's algorithm is implemented using Fibonacci heaps, the running time of our algorithm is therefore $O(\sqrt{n} \cdot m + n \cdot \sqrt{m \log n})$.

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

↑