Speeding up shortest path algorithms
Abstract
Given an arbitrary, non-negatively weighted, directed graph we present an algorithm that computes all pairs shortest paths in time , where is the number of different edges contained in shortest paths and is a running time of an algorithm to solve a single-source shortest path problem (SSSP). This is a substantial improvement over a trivial times application of that runs in . In our algorithm we use as a black box and hence any improvement on results also in improvement of our algorithm. Furthermore, a combination of our method, Johnson's reweighting technique and topological sorting results in an all-pairs shortest path algorithm for arbitrarily-weighted directed acyclic graphs. In addition, we also point out a connection between the complexity of a certain sorting problem defined on shortest paths and SSSP.
Cite
@article{arxiv.1212.6327,
title = {Speeding up shortest path algorithms},
author = {Andrej Brodnik and Marko Grgurovič},
journal= {arXiv preprint arXiv:1212.6327},
year = {2013}
}
Comments
10 pages