All-pairs shortest paths for unweighted undirected graphs in o(mn) time

  • Authors:
  • Timothy M. Chan

  • Affiliations:
  • University of Waterloo, Canada

  • Venue:
  • ACM Transactions on Algorithms (TALG)
  • Year:
  • 2012

Quantified Score

Hi-index 0.00

Visualization

Abstract

We revisit the all-pairs-shortest-paths problem for an unweighted undirected graph with n vertices and m edges. We present new algorithms with the following running times: { O(mn/log n) if m n log n log log log n O(mn log log n/log n) if m n log log n O(n2 log2 log n/log n) if m ≤ n log log n. These represent the best time bounds known for the problem for all m≪ n1.376. We also obtain a similar type of result for the diameter problem for unweighted directed graphs.