Dijkstra–Scholten algorithm: Difference between revisions

Content deleted Content added
SmackBot (talk | contribs)
m remove Erik9bot category,outdated, tag and general fixes
Line 19:
 
==Dijkstra-Scholten algorithm for directed acyclic graphs==
* The algorithm for a tree can be extended to acyclic directed graphs. We add an additional edgeinteger attribute [[Deficit]] to each edge.
* On an incoming edge, Deficit will denote the difference between the number of messages received and the number of signals sent in reply.
* When a node wishes to terminate, it waits until it has received signals from outgoing edges reducing their deficits to zero.