We give a comparison--addition algorithm for single-source shortest paths in undirected graphs with nonnegative real edge lengths. For each input with $n$ vertices and $m$ edges, its expected running time is $O(m+n\log\log\log n)$. 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 $m=Ω(n\log\log\log n)$. We also give randomized comparison--addition algorithms for exact global minimum cut in undirected graphs with arbitrary nonnegative real capacities. For every fixed positive integer $h$, one algorithm runs in worst-case time $O_h(m+n\log^{(h)}n)$, where $\log^{(h)}n$ is the lower-truncated $h$-fold logarithm; a uniform algorithm runs in worst-case time $O((m+n)2^{O(\log^* n)})$. Both bounds charge individually for every fair random bit, succeed with probability at least two thirds, and always return a nontrivial cut with its exact original capacity.
翻译:暂无翻译