Question: Let G = (V, E) be an undirected, connected graph with weight function w : E R, and suppose that |E| |V| and all edge

Let G = (V, E) be an undirected, connected graph with weight function w : E → R, and suppose that |E| ≥ |V| and all edge weights are distinct. A second-best minimum spanning tree is defined as follows. Let be the set of all spanning trees of G, and let T′ be a minimum spanning tree of G. Then a second-best minimum spanning tree is a spanning tree T such that w(T) = min T” ε T - |T’| {w(T’’)}.
a. Show that the minimum spanning tree is unique, but that the second-best minimum spanning tree need not be unique.
b. Let T be a minimum spanning tree of G. Prove that there exist edges (u, v) ¬ T and (x, y) ∉ T such that T - {(u, v)} ¬ {(x, y)} is a second-best minimum spanning tree of G.
c. Let T be a spanning tree of G and, for any two vertices u, v ¬ V, let max[u, v] be an edge of maximum weight on the unique path between u and v in T. Describe an O(V2)- time algorithm that, given T, computes max[u, v] for all u, v ¬ V.
d. Give an efficient algorithm to compute the second-best minimum spanning tree of G.

Step by Step Solution

3.31 Rating (163 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

a To see that the minimum spanning tree is unique obser... View full answer

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

Document Format (1 attachment)

Word file Icon

C-S-A (125).docx

120 KBs Word File

Students Have Also Explored These Related Algorithms Questions!