MST in Message-passing Model
The 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 and 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 and 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 and Kruskal’s algorithm require processes to know the state of the whole graph, which is very difficult to discover in the message-passing model.
However, Nobari et al. in proposed a novel parallel algorithm, PMA, that is parallelizing Prim’s algorithm.
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.
Read more about this topic: Distributed Minimum Spanning Tree
Famous quotes containing the word model:
“Research shows clearly that parents who have modeled nurturant, reassuring responses to infants fears and distress by soothing words and stroking gentleness have toddlers who already can stroke a crying childs hair. Toddlers whose special adults model kindliness will even pick up a cookie dropped from a peers high chair and return it to the crying peer rather than eat it themselves!”
—Alice Sterling Honig (20th century)