Wikipedia: "Bellman-Ford Algorithm"
Read this article for more details about the Bellman-Ford routing algorithm. This routing protocol is used in RIP, OSPF, and BGP.
Click https://en.wikipedia.org/wiki/Bellman%E2%80%93Ford_algorithm link to open resource.