Dec 17, 2024
x
to destination y
involves a neighbor v
as the first hop.x
to v
plus the cost from v
to y
. Take minimum over all neighbors v
.U
with neighbors V
, X
, and W
; destination node Z
.V
to Z
: Cost 5X
to Z
: Cost 3W
to Z
: Cost 3U
to Z
by evaluating paths through its neighbors.x
updates its distance vector upon receiving a new vector from neighbors using the Bellman-Ford equation.B
recalculating paths based on received data.