On the Comparison-Addition Complexity of All-Pairs Shortest Paths

  • Authors:
  • Seth Pettie

  • Affiliations:
  • -

  • Venue:
  • ISAAC '02 Proceedings of the 13th International Symposium on Algorithms and Computation
  • Year:
  • 2002

Quantified Score

Hi-index 0.00

Visualization

Abstract

We present an all-pairs shortest path algorithm for arbitrary graphs that performs O(mn log 驴) comparison and addition operations, where m and n are the number of edges and vertices, resp., and 驴 = 驴 (m, n) is Tarjan's inverse-Ackermann function. Our alorithm e1iminates the sorting bottleneck inherent in approaches based on Dijkstra's alogrithm, and for graphs with O(n) edges Our algorithm is within a tiny O(log 驴) factor of optimal. The algorithm can be implemented to run in polynomial time (though it is not a pleasing polynomial). We leave open the problem of providing an efficient implementation.