随机化 $\tilde{O}(m\sqrt{n})$ Bellman-Ford 算法:源自 Fineman 与 Boilermakers
Randomized $\tilde{O}(m\sqrt{n})$ Bellman-Ford from Fineman and the Boilermakers
AI总结:
本文基于 Fineman 及后续工作,利用价格函数约化代价的线性时间更新观察和 Fineman 结构的递归版本,将含负权图最短路径的期望时间改进至 $\tilde{O}(m\sqrt{n})$。
摘要:
Bellman 和 Ford 在 20 世纪 50 年代提出的经典算法可在 $O(mn)$ 时间内计算具有 $n$ 个顶点、$m$ 条边且可能含负权重的加权图中的最短路径。事实上,该算法通常在本科算法课程中讲授。2023 年,在近 70 年后,Fineman \cite{fineman2024single} 为该问题提出了一个期望时间为 $\tilde{O}(m n^{8/9})$ 的算法。Huang、Jin 和 Quanrud 通过给出一个 $\tilde{O}(m n^{4/5})$ 时间的算法,改进了 Fineman 这一惊人的突破。本文基于这些结果的思路,提出了一个期望时间为 $\tilde{O}(m\sqrt{n})$ 的算法。关键改进在于一个简单的观察:对于某个价格函数,距离可以依据约化代价在线性时间内更新。这几乎立即改进了先前的工作。为了得到最终界限,本文给出了 Fineman 结构的递归版本。
英文摘要:
A classical algorithm by Bellman and Ford from the 1950's computes shortest paths in weighted graphs on $n$ vertices and $m$ edges with possibly negative weights in $O(mn)$ time. Indeed, this algorithm is taught regularly in undergraduate Algorithms courses. In 2023, after nearly 70 years, Fineman \cite{fineman2024single} developed an $\tilde{O}(m n^{8/9})$ expected time algorithm for this problem. Huang, Jin and Quanrud improved on Fineman's startling breakthrough by providing an $\tilde{O}(m n^{4/5} )$ time algorithm. This paper builds on ideas from those results to produce an $\tilde{O}(m\sqrt{n})$ expected time algorithm. The simple observation that distances can be updated with respect to the reduced costs for a price function in linear time is key to the improvement. This almost immediately improves the previous work. To produce the final bound, this paper provides recursive versions of Fineman's structures.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。