AlgorithmsGraphsEdit on GitHubEdit history
Bellman–Ford Algorithm
1956
An algorithm that relaxes every edge V−1 times to compute single-source shortest paths with negative weights allowed, and detects negative cycles.
Origin
Lineage
Derived algorithms
Reference workQueue-based improvement of Bellman–Ford that re-relaxes only updated vertices (the same idea appears in Moore 1959)
Author statementComputes potentials with Bellman–Ford to reweight edges — doi:10.1145/321992.321993
Structural analysisBellman–Ford-style negative-cycle detection is commonly used to find negative-cost cycles in the residual graph.
Structural analysisWith large Δ it approaches the Bellman–Ford approach of repeatedly relaxing all edges.
Structural analysisIts pivot-finding step, which reduces the number of frontier vertices, runs a few rounds of Bellman–Ford-style relaxation.
Author statementAs its title states, it is a heuristic improvement of the Bellman–Ford algorithm. — doi:10.1016/0893-9659(93)90022-F
Structural analysisIts structure of relaxing arrival times by scanning each route once per round resembles the round-based relaxation of Bellman–Ford.
Structural analysisIt computes shortest walks with k edges using the same recurrence as Bellman–Ford.
Author statementRFC 1058 states that RIP is based on the Bellman-Ford (distance vector) algorithm. — www.rfc-editor.org/rfc/rfc1058
Notable implementations
Find more: GitHub · Semantic Scholar · Google Scholar · arXiv
Claims & disputes
Loading…