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 language | English |
---|---|
Pages (from-to) | 103-139 |
Number of pages | 37 |
Journal | Information and Computation |
Volume | 134 |
Issue number | 2 |
DOIs | |
State | Published - 1 May 1997 |
ASJC Scopus subject areas
- Theoretical Computer Science
- Information Systems
- Computer Science Applications
- Computational Theory and Mathematics