3 In this problem, we explain why the MST algorithm works. Define S = minimum spanning tree...

Question:

3 In this problem, we explain why the MST algorithm works. Define S = minimum spanning tree Ct = nodes connected after iteration t of MST algorithm has been completed Ct= nodes not connected after iteration t of MST algorithm has been completed At = set of arcs in minimum spanning tree after t iterations of MST algorithm have been completed

image text in transcribed

image text in transcribed

Suppose the MST algorithm does not yield a minimum spanning tree. Then, for some t, it must be the case that all arcs in At1 are in S, but the arc chosen at iteration t (call it at) of the MST algorithm is not in S. Then S must contain some arc at that leads from a node in Ct1 to a node in Ct1).
Show that by replacing arc at with arc at, we can obtain a shorter spanning tree than S. This contradiction proves that all arcs chosen by the MST algorithm must be in S. Thus, the MST algorithm does indeed find a minimum spanning tree.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: