Faster algorithms for all-pairs small stretch distances in weighted graphs

  • Authors:
  • Telikepalli Kavitha

  • Affiliations:
  • Indian Institute of Science, Bangalore, India

  • Venue:
  • FSTTCS'07 Proceedings of the 27th international conference on Foundations of software technology and theoretical computer science
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

Let G = (V,E) be a weighted undirected graph, with nonnegative edge weights. We consider the problem of efficiently computing approximate distances between all pairs of vertices in G. While many efficient algorithms are known for this problem in unweighted graphs, not many results are known for this problem in weighted graphs. Zwick [15] showed that for any fixed Ɛ 0, stretch (1+Ɛ) distances between all pairs of vertices in a weighted directed graph on n vertices can be computed in Õ (nω) time assuming that edge weights in G are not too large, where ω n is the number of vertices in G. It is known that finding distances of stretch less than 2 between all pairs of vertices in G is at least as hard as Boolean matrix multiplication of two n×n matrices. It is also known that all-pairs stretch 3 distances can be computed in Õ(n2) time and all-pairs stretch 7/3 distances can be computed in Õ(n7/3) time. Here we consider efficient algorithms for the problem of computing all-pairs stretch (2+Ɛ) distances in G, for any 0 We show that all pairs stretch (2+Ɛ) distances for any fixed Ɛ 0 in G can be computed in expected time O(n9/4) assuming that edge weights in G are not too large. This algorithm uses a fast rectangular matrix multiplication subroutine. We also present a combinatorial algorithm (that is, it does not use fast matrix multiplication) with expected running time O(n9/4) for computing all-pairs stretch 5/2 distances in G.