paper

Randomized Bellman-Ford from Fineman and the Boilermakers

arXiv:2503.22613

Abstract

A classical algorithm by Bellman and Ford from the 1950's computes shortest paths in weighted graphs on vertices and edges with possibly negative weights in time. Indeed, this algorithm is taught regularly in undergraduate Algorithms courses. In 2023, after nearly 70 years, Fineman \cite{fineman2024single} developed an expected time algorithm for this problem. Huang, Jin and Quanrud improved on Fineman's startling breakthrough by providing an time algorithm. This paper builds on ideas from those results to produce an expected time algorithm. The simple observation that distances can be updated with respect to the reduced costs for a price function in linear time is key to the improvement. This almost immediately improves the previous work. To produce the final bound, this paper provides recursive versions of Fineman's structures.

This paper is incorrect. The negative sandwich needs to be done after the betweenness reduction in the the recursive version. That is, the negative sandwich and the full betweenness reduction needs to be done every step which makes the runtime be what was in the work of Huang, Jin, and Quanrud