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

利用桥接集和矩形矩阵乘法求所有对最短路

All Pairs Shortest Paths using Bridging Sets and Rectangular Matrix Multiplication

Uri Zwick

摘要:

本文提出了两个求解加权有向图的{ \em所有对最短路径}(APSP)问题的新算法。这两种算法都使用快速矩阵乘法算法。第一个算法解决了加权有向图的APSP问题,其中边的权重是在$\Ot(n^{2+μ})$时间的小绝对值的整数,其中$μ$满足方程$ω(1,μ,1)=1+2μ$和$ω(1,μ,1)$是$n\times n^μ$矩阵乘以$n^μ\times n$矩阵的指数。目前,由Coppermith获得的关于$ω(1,μ,1)$的最佳可用界限意味着$μ<0.575$。因此,我们的算法的运行时间是$O(n^{2.575})$。该算法改进了$\Ot(n^{(3+ω)/2})$时间算法,其中$ω=ω(1,1,1)<2.376$是矩阵乘法的常用指数,由Alon,Galil和Margalit得到,其运行时间仅为$O(n^{2.688})$ .第二个算法解决了APSP问题{ \em almost}精确的有向图与{ \em arbitrary}非负实权重。该算法以$\Ot((n^ω/\eps)\log (W/\eps))$时间运行,其中$\eps>0$是误差参数,W是图中的最大边权重,在边权重被缩放之后,使得图中的最小非零边权重为1。它返回图中所有距离的估计值,最多为$1+\eps$。也可以有效地找到相应的路径。

英文摘要:

We present two new algorithms for solving the {\em All Pairs Shortest Paths} (APSP) problem for weighted directed graphs. Both algorithms use fast matrix multiplication algorithms. The first algorithm solves the APSP problem for weighted directed graphs in which the edge weights are integers of small absolute value in $\Ot(n^{2+μ})$ time, where $μ$ satisfies the equation $ω(1,μ,1)=1+2μ$ and $ω(1,μ,1)$ is the exponent of the multiplication of an $n\times n^μ$ matrix by an $n^μ\times n$ matrix. Currently, the best available bounds on $ω(1,μ,1)$, obtained by Coppersmith, imply that $μ<0.575$. The running time of our algorithm is therefore $O(n^{2.575})$. Our algorithm improves on the $\Ot(n^{(3+ω)/2})$ time algorithm, where $ω=ω(1,1,1)<2.376$ is the usual exponent of matrix multiplication, obtained by Alon, Galil and Margalit, whose running time is only known to be $O(n^{2.688})$. The second algorithm solves the APSP problem {\em almost} exactly for directed graphs with {\em arbitrary} non-negative real weights. The algorithm runs in $\Ot((n^ω/\eps)\log (W/\eps))$ time, where $\eps>0$ is an error parameter and W is the largest edge weight in the graph, after the edge weights are scaled so that the smallest non-zero edge weight in the graph is 1. It returns estimates of all the distances in the graph with a stretch of at most $1+\eps$. Corresponding paths can also be found efficiently.

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

↑