Question: An undirected weighted graph G is given below: (a). Use Prim's algorithm to compute the minimum spanning tree for the weighted graph. Start the algorithm
An undirected weighted graph G is given below:

(a). Use Prim's algorithm to compute the minimum spanning tree for the weighted graph. Start the algorithm at vertex a. Show the order in which the edges are added to the tree.
(b). Now suppose that the weight of edge {e,f} is decreased from 7 to -3. Is there a way to find the minimum spanning tree of the altered graph without running Prim's algorithm from scratch?
11 -4.1 e) -1 C 3 a 2 0 1 .7 b 7 3 2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
