Distributed minimum spanning tree: Difference between revisions

Content deleted Content added
m WP:GenFixes on, typo(s) fixed: Prim’s → Prim's (7)
FrescoBot (talk | contribs)
Line 19:
The [[Message passing|message-passing]] model is one of the most commonly used models in [[distributed computing]]. In this model, each process is modeled as a node of a graph. The communication channel between two processes is an edge of the graph.
 
Two commonly used algorithms for the classical minimum spanning tree problem are [[Prim's algorithm|Prim's algorithm]] and [[Kruskal's algorithm|Kruskal's algorithm]]. However, it is difficult to apply these two algorithms in the distributed message-passing model. The main challenges are:
* Both [[Prim's algorithm|Prim's algorithm]] and [[Kruskal's algorithm|Kruskal's algorithm]] require processing one node or vertex at a time, making it difficult to make them run in parallel. (For example, Kruskal's algorithm processes edges in turn, deciding whether to include the edge in the MST based on whether it would form a cycle with all previously chosen edges.)
* Both [[Prim's algorithm|Prim's algorithm]] and [[Kruskal's algorithm|Kruskal's algorithm]] require processes to know the state of the whole graph, which is very difficult to discover in the message-passing model.
 
Due to these difficulties, new techniques were needed for distributed MST algorithms in the message-passing model. Some bear similarities to [[Borůvka's algorithm]] for the classical MST problem.