Parallel Algorithm For MST
Parallel Algorithm For MST
BHATT MITUL S.
M.E. 1st Year 1th SEM
Roll No. 002
PEN :140450756002
Introduction
Introduction Conti..
Boruvkas Algorithm
Step 1 (Choose lightest): Each vertex selects the edge with the
lightest weight incident on it. Each of the connected components thus
created has one cycle of size two between two vertices that each selects
the same edge. Of this pain, the one with the smaller number is
designated as the root of the component and the cycle is removed. The
component is then a tree.
Step 2 (Find root): Each vertex identifies the root of the tree to which it
belongs.
Step 3 (Rename vertices): In the edge lists, each vertex is renamed with
the name of the root of the component to which it belongs.
Step 4 (Merge edge lists): Edge lists, which belong to the same
component, are merged into the edge list of the root. In other words,
each connected component shrinks into a single vertex.
Step 5 (Clean up): Now the edge lists may have self loops and multiple
edges. All self loops are removed. Multiple edges are removed such
that only lightest edge remains between a pair of vertices.
Proof
Parallel Runtime
Example
Step 1: At this step the light edges
of vertices are selected.
The selected edges are labelled
with arrows. An edge with
double arrows indicates this edge
is chosen by both end
vertices. Broken lines are the
edge not selected in Step 1
After Step 1 we have two connected
components C1,c2 and the following
multi-graph. In the Figure 3 the
connected components C1and C2
are relabelled by super vertices V1s
And V2s. We will stop applying
further iterations ofBoruvkas
algorithm assuming the number of
super vertices n0=2.
.
Example
Choosing minimum edge
(V2,V4):cost = 5, connecting
V1s to V2s. We have the
following spanning tree
T of super vertices V1s and
V2s
Comparison
Comparison
Comparison conti..
Comparison conti..
Conclusion
This
paper
spanning
tree
weighted
graph
which
is
intrinsically
and
algorithm
is
Boruvkas
bit
faster
algorithms.
than
ours
However
algorithm.
the
The
Prims
parallel
Literature Review
Sr.
No
Name of Journal
David A. Bader
, Guojing Cong,
[2006]
Thank You