All pairs shortest paths using bridging sets and rectangular matrix multiplication

By Uri Zwick. JACM, 2000

355 citations recorded by the source corpus.

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 <i>Õ</i>(<i>n</i><sup>2+μ</sup>) time, where μ satisfies the equation ω(1, μ, 1) = 1 + 2μ and ω(1, μ, 1) is the exponent of the multiplication of an <i>n</i> × <i>n</i><sup>μ</sup> matrix by an <i>n</i><sup>μ</sup> × <i>n</i> matrix. Currently, the best available bounds on ω(1, μ, 1), obtained by Coppersmith, imply that μ < 0.575. The running time of our algorithm is therefore <i>O</i>(<i>n</i><sup>2.575</sup>). Our algorithm improves on the <i>&Otilede;</i>(<i>n</i><sup>(3c+ω)/2</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 <i>O</i>(<i>n</i><sup>2.688</sup>).The second algorithm solves the APSP problem <i>almost</i> exactly for directed graphs with <i>arbitrary</i> nonnegative real weights. The algorithm runs in Õ((<i>n</i><sup>ω</sup>/&epsis;) log(<i>W</i>/&epsis;)) time, where &epsis; > 0 is an error parameter and <i>W</i> 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 + &epsis;. Corresponding paths can also be found efficiently.

Subfields: Computational Theory and Mathematics, Computer Graphics and Computer-Aided Design

View Paper: https://www.semanticscholar.org/paper/eec92e7994b43ff8aedc1986a5049e7c31997fbc

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Computational Theory and Mathematics

  1. Kyriakos G. Vamvoudakis
  2. Frank L. Lewis
  3. Ryan Williams
  4. Virginia Vassilevska Williams
  5. Gregory R. Hudas
  6. Raphael Yuster
  7. Mikkel Thorup
  8. Uri Zwick

In Computer Graphics and Computer-Aided Design

  1. Ryan Williams
  2. Raphael Yuster
  3. Mikkel Thorup
  4. Virginia Vassilevska Williams

Citations in the corpus