All pairs shortest paths using bridging sets and rectangular matrix multiplication

抄録

<jats:p> We present two new algorithms for solving the 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 <jats:italic>Õ</jats:italic> ( <jats:italic>n</jats:italic> <jats:sup>2+μ</jats:sup> ) time, where μ satisfies the equation ω(1, μ, 1) = 1 + 2μ and ω(1, μ, 1) is the exponent of the multiplication of an <jats:italic>n</jats:italic> × <jats:italic>n</jats:italic> <jats:sup>μ</jats:sup> matrix by an <jats:italic>n</jats:italic> <jats:sup>μ</jats:sup> × <jats:italic>n</jats:italic> matrix. Currently, the best available bounds on ω(1, μ, 1), obtained by Coppersmith, imply that μ < 0.575. The running time of our algorithm is therefore <jats:italic>O</jats:italic> ( <jats:italic>n</jats:italic> <jats:sup>2.575</jats:sup> ). Our algorithm improves on the <jats:italic>Õ</jats:italic> ( <jats:italic>n</jats:italic> <jats:sup>(3c+ω)/2</jats:sup> ) time algorithm, where ω = ω(1, 1, 1) < 2.376 is the usual exponent of matrix multiplication, obtained by Alon et al., whose running time is only known to be <jats:italic>O</jats:italic> ( <jats:italic>n</jats:italic> <jats:sup>2.688</jats:sup> ).The second algorithm solves the APSP problem <jats:italic>almost</jats:italic> exactly for directed graphs with <jats:italic>arbitrary</jats:italic> nonnegative real weights. The algorithm runs in Õ(( <jats:italic>n</jats:italic> <jats:sup>ω</jats:sup> /ϵ) log( <jats:italic>W</jats:italic> /ϵ)) time, where ϵ > 0 is an error parameter and <jats:italic>W</jats:italic> 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 + ϵ. Corresponding paths can also be found efficiently. </jats:p>

収録刊行物

  • Journal of the ACM

    Journal of the ACM 49 (3), 289-317, 2002-05

    Association for Computing Machinery (ACM)

被引用文献 (2)*注記

もっと見る

詳細情報 詳細情報について

問題の指摘

ページトップへ