Papers
Topics
Authors
Recent
Search
2000 character limit reached

Non-adaptive Bellman-Ford: Yen's improvement is optimal

Published 15 Feb 2024 in cs.DS and math.CO | (2402.10343v2)

Abstract: The Bellman-Ford algorithm for single-source shortest paths repeatedly updates tentative distances in an operation called relaxing an edge. In several important applications a non-adaptive (oblivious) implementation is preferred, which means fixing the entire sequence of relaxations upfront, independently of the edge-weights. Such an implementation performs, in a dense graph on $n$ vertices, $(1 + o(1))n3$ relaxations. An improvement by Yen from 1970 reduces the number of relaxations by a factor of two. We show that no further constant-factor improvements are possible, and every non-adaptive deterministic algorithm based on relaxations must perform $(\frac{1}{2} - o(1))n3$ steps. This improves an earlier lower bound of Eppstein of $(\frac{1}{6} - o(1))n3$. Given that a non-adaptive randomized variant of Bellman-Ford with at most $(\frac{1}{3} + o(1))n3$ relaxations (with high probability) is known, our result implies a strict separation between deterministic and randomized strategies, answering an open question of Eppstein. On the complexity side, we show that deciding whether a given relaxation sequence is guaranteed to yield correct distances is NP-hard, even with the complete graph as input.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (8)
  1. Randomized speedup of the Bellman–Ford algorithm. In 2012 Proceedings of the Ninth Workshop on Analytic Algorithmics and Combinatorics (ANALCO), pages 41–47. SIAM, 2012.
  2. Richard Bellman. On a routing problem. Quarterly of applied mathematics, 16(1):87–90, 1958.
  3. David Eppstein. Lower bounds for non-adaptive shortest path relaxation. In Algorithms and Data Structures - 18th International Symposium, WADS 2023, Proceedings, volume 14079 of Lecture Notes in Computer Science, pages 416–429. Springer, 2023.
  4. Lester Randolph Ford. Network flow theory. 1956.
  5. Charles Hedrick. Routing Information Protocol, June 1988. RFC 1058.
  6. Edward F. Moore. The shortest path through a maze. In Proc. of the International Symposium on the Theory of Switching, pages 285–292. Harvard University Press, 1959.
  7. Network routing: algorithms, protocols, and architectures. Morgan Kaufmann, 2017.
  8. Jin Y. Yen. An algorithm for finding shortest routes from all source nodes to a given destination in general networks. Quarterly of applied mathematics, 27(4):526–530, 1970.

Summary

No one has generated a summary of this paper yet.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Continue Learning

We haven't generated follow-up questions for this paper yet.

Authors (2)

Collections

Sign up for free to add this paper to one or more collections.