Faster replacement paths

  • Authors:
  • Virginia Vassilevska Williams

  • Affiliations:
  • University of California, Berkeley

  • Venue:
  • Proceedings of the twenty-second annual ACM-SIAM symposium on Discrete Algorithms
  • Year:
  • 2011

Quantified Score

Hi-index 0.00

Visualization

Abstract

The replacement paths problem for directed graphs is to find for given nodes s and t and every edge e on the shortest path between them, the shortest path between s and t which avoids e. For unweighted directed graphs on n vertices, the best known algorithm runtime was Õ(n2.5) by Roditty and Zwick. For graphs with integer weights in {− M,..., M}, Weimann and Yuster showed that one can use fast matrix multiplication and solve the problem in O(Mn2.584) time, a runtime which would be O(Mn2.33) if the exponent ω of matrix multiplication is 2. We improve on both of these algorithms. Our new algorithm also relies on fast matrix multiplication and runs in Mnω+o(1) time. Our result shows that, at least for small integer weights, the replacement paths problem in directed graphs may be easier than the related all pairs shortest paths problem in directed graphs, as the current best runtime for the latter is Ω(n2.5) time even if ω = 2.