All Pairs Shortest Distances for Graphs with Small Integer Length Edges

Zvi Galil, Oded Margalit

Research output: Contribution to journalArticlepeer-review

47 Scopus citations

Abstract

There is a way to transform the All Pairs Shortest Distances (APSD) problem where the edge lengths are integers with small (≤M) absolute value into a problem with edge lengths in {-1, 0, 1}. This transformation allows us to use the algorithms we developed earlier ([1]) and yields quite efficient algorithms. In this paper we give new improved algorithms for these problems. For n = |V| the number of vertices, M the bound on edge length, and ω the exponent of matrix multiplication, we get the following results: 1. A directed nonnegative APSD(n, M) algorithm which runs in O(T(n, M)) time, where (Equation presented) 2. A undirected APSD(n, M) algorithm which runs in O(M(ω + 1)/2nω log(Mn)) time.

Original languageEnglish
Pages (from-to)103-139
Number of pages37
JournalInformation and Computation
Volume134
Issue number2
DOIs
StatePublished - 1 May 1997

ASJC Scopus subject areas

  • Theoretical Computer Science
  • Information Systems
  • Computer Science Applications
  • Computational Theory and Mathematics

Fingerprint

Dive into the research topics of 'All Pairs Shortest Distances for Graphs with Small Integer Length Edges'. Together they form a unique fingerprint.

Cite this