WorksComputer Science
Linear Single-Source Shortest Path, Almost
Abstract
We give a comparison-addition algorithm for single-source shortest paths in undirected graphs with nonnegative real edge lengths. For each input with vertices and edges, its expected running time is . It terminates almost surely. Every terminating run returns exact distances and a shortest-path tree on the reachable vertices. The bound is independent of the ratio of edge lengths and is linear whenever .