arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1212.6327cs.DScs.CC
收藏

加速最短路径算法

Speeding up shortest path algorithms

Andrej Brodnik, Marko Grgurovič

摘要:

给定一个任意的、非负权的有向图$G=(V,E)$,我们提出了一个计算所有对最短路径的算法$\mathcal{O}(m^* n + m \lg n + nT_ψ(m^*, n))$,其中$m^*$是最短路径中包含的不同边的数目,$T_ψ(m^*, n)$是求解单源最短路径问题(SSSP)的算法的运行时间.这是对运行在$\mathcal{O}(nT_ψ(m,n))$中的$ψ$的普通$n$倍应用程序的实质性改进。在我们的算法中,我们使用$ψ$作为一个黑盒,因此任何对$ψ$的改进也会导致我们的算法的改进。此外,结合我们的方法,约翰逊的重新加权技术和拓扑排序的结果在$\mathcal{O}(m^*n + m \lg n)$所有对任意加权有向无环图的最短路径算法。此外,我们还指出了定义在最短路径上的排序问题的复杂性与SSSP之间的联系。

英文摘要:

Given an arbitrary, non-negatively weighted, directed graph $G=(V,E)$ we present an algorithm that computes all pairs shortest paths in time $\mathcal{O}(m^* n + m \lg n + nT_ψ(m^*, n))$, where $m^*$ is the number of different edges contained in shortest paths and $T_ψ(m^*, n)$ is a running time of an algorithm to solve a single-source shortest path problem (SSSP). This is a substantial improvement over a trivial $n$ times application of $ψ$ that runs in $\mathcal{O}(nT_ψ(m,n))$. In our algorithm we use $ψ$ as a black box and hence any improvement on $ψ$ results also in improvement of our algorithm. Furthermore, a combination of our method, Johnson's reweighting technique and topological sorting results in an $\mathcal{O}(m^*n + m \lg n)$ all-pairs shortest path algorithm for arbitrarily-weighted directed acyclic graphs. In addition, we also point out a connection between the complexity of a certain sorting problem defined on shortest paths and SSSP.

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

↑