A Blocked All-Pairs Shortest-Path Algorithm

  • Authors:
  • Gayathri Venkataraman;Sartaj Sahni;Srabani Mukhopadhyaya

  • Affiliations:
  • -;-;-

  • Venue:
  • SWAT '00 Proceedings of the 7th Scandinavian Workshop on Algorithm Theory
  • Year:
  • 2000

Quantified Score

Hi-index 0.00

Visualization

Abstract

We propose a blocked version of Floyd's all-pairs shortestpaths algorithm. The blocked algorithm makes better utilization of cache than does Floyd's original algorithm. Experiments indicate that the blocked algorithm delivers a speedup (relative to the unblocked Floyd's algorithm) between 1.6 and 1.9 on a Sun Ultra Enterprise 4000/5000 for graphs that have between 480 and 3200 vertices. The measured speedup on an SGI O2 for graphs with between 240 and 1200 vertices is between 1.6 and 2.