Bellman–Ford algorithm: Difference between revisions

Content deleted Content added
J.O.L. (talk | contribs)
m Secondary sources: Changed pp to p for Cormen reference (single page)
Line 114:
 
== Applications in routing ==
{{Unreferenced section|date=April 2024}}
 
A distributed variant of the Bellman–Ford algorithm is used in [[distance-vector routing protocol]]s, for example the [[Routing Information Protocol]] (RIP). The algorithm is distributed because it involves a number of nodes (routers) within an [[autonomous system (Internet)|Autonomous system (AS)]], a collection of IP networks typically owned by an ISP.
It consists of the following steps:
Line 126:
* Changes in [[network topology]] are not reflected quickly since updates are spread node-by-node.
* [[Distance-vector routing protocol#Count to infinity problem|Count to infinity]] if link or node failures render a node unreachable from some set of other nodes, those nodes may spend forever gradually increasing their estimates of the distance to it, and in the meantime there may be routing loops.
 
 
== Improvements ==