Question: A new algorithm for minimum spanning tree is being developed. The steps of the algorithm are as follows. Given an undirected graph containing V vertices,

 A new algorithm for minimum spanning tree is being developed. The

A new algorithm for minimum spanning tree is being developed. The steps of the algorithm are as follows. Given an undirected graph containing V vertices, E edges (with +ve edge weights). Mark all edges as not-visited Initialize MSTree to include all edges in the graph. Repeat pick the not-visited edge with the highest weight from MSTree if the removal of the edge does not make disconnected components then remove the edge from the MSTree else mark the edge as visited until no edges can be removed return MSTree as the MST of the graph Prove or disprove the correctness of the above algorithm. To prove correctness, you will need to argue that the returned MSTree is indeed a MST of the input graph. To disprove correctness, you can present a counter-example, i.e., an input graph for which the above algorithm returns MSTree which does not represent its MST (40pts)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!