Question: ( 6 points ) Consider the following weighted undirected graph. ( a ) ( 2 points ) Explain why edge ( B , E )
points Consider the following weighted undirected graph.
a points Explain why edge is safe. In other words, give a cut where the edge is the cheapest edge crossing the cut.
b points Suppose we run the Kruskal's algorithm on this graph. List the edges appearing in the Minimum Spanning Tree MST in the order they are added to the MST If you prefer, you are allowed to index edges by their weight. eg Instead of DF GH you can write dots,
c points Suppose we run the Prim's algorithm on this graph using A as initial vertex. List the edges appearing in the Minimum Spanning Tree MST in the order they are added to the MST
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
