Problem Show Execution Minimum Spanning Tree Algorithms Following Graph 15 Points Trace Ex Q37196589

In this problem, you will show the execution of the minimumspanning tree algorithms on the following graph:

10 40 20 5 35 15 6 30 41 62 12

(a) (15 points) Trace the execution of Prim’s algorithm to findthe minimum spanning tree for this graph. At each step, you shouldshow the vertex and the edge added to the tree and the resultingvalues of D after the relaxation operation. Use START vertex as thefirst vertex in your traversal.

(b) (15 points) Trace the execution of Kruskal’s algorithm tofind the minimum spanning tree for this graph. Give a list of edgesin

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.