Professional Documents
Culture Documents
Haimonti Dutta
haimonti@buffalo.edu
BFS
The Breadth First Spanning (BFS) Tree of G with respect to a
given root r0 is a spanning tree TB with the property that for every
other vertex v , the path leading from root to v in the tree is of the
minimum length possible.
Some Facts
BFS
In a synchronous network, by flooding, BFS can be generated with
Message(Flood)=(E ) and Time(Flood)=(Diam(G )).
In aynchronous network, tree generated may not be a BFS!
Sequential Algorithms
Algorithms
Dijkstra
Bellman-Ford
Review Dijkstra from
https://www.youtube.com/watch?v=WN3Rb9wVYDY
Distributed Bellman-Ford
Distributed Bellman-Ford
Distributed Bellman-Ford
Distributed Bellman-Ford
Distributed Bellman-Ford