Dijkstra–Scholten algorithm: Difference between revisions

Content deleted Content added
some en-dashes
m Unlinked: Deficit
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 integer 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.