1.01k likes | 1.19k Views
Broadcast. Root. Use a spanning tree. synchronous. It takes the same time at link to send a message It takes the same time at each node to process the incoming data. nodes. levels. Time complexity:. Message complexity:. asynchronous. Links and nodes may have different delays. slow
E N D
Root Use a spanning tree
synchronous • It takes the same time at link to send a message • It takes the same time at each node to process • the incoming data
nodes levels Time complexity: Message complexity:
asynchronous Links and nodes may have different delays
slow link
slow link
Actual delivery
nodes levels Time complexity: Message complexity:
nodes levels Time complexity: Message complexity:
nodes levels Time complexity: Message complexity:
Tree algorithm for node : Upon receipt of <invitation> message from neighbor node : If not member of tree: accept invitation by sending <accept> message to ; (the father) Send invitations to all neighbors, except If member of tree: decline invitation by sending <reject> message to ;
A node initiates the BFS process <invitation> <invitation>
become members of tree
<accept> <accept>
nodes edges diameter Time complexity: Message complexity: