A Faster All-Pairs Shortest Path Algorithm for Real-Weighted Sparse Graphs

  • Authors:
  • Seth Pettie

  • Affiliations:
  • -

  • Venue:
  • ICALP '02 Proceedings of the 29th International Colloquium on Automata, Languages and Programming
  • Year:
  • 2002

Quantified Score

Hi-index 0.02

Visualization

Abstract

We present a faster all-pairs shortest paths algorithm for arbitrary real-weighted directed graphs. The algorithm works in the fundamental comparison-addition model and runs in O(mn+n2 log log n) time, where m and n are the number of edges & vertices, respectively. This is strictly faster than Johnson's algorithm (for arbitrary edge-weights) and Dijkstra's algorithm (for positive edge-weights) when m = o(n log n) and matches the running time of Hagerup's APSP algorithm, which assumes integer edge-weights and a more powerful model of computation.