Question: Let G = (V, E) be an undirected graph with distinct edge weights w (u, ) on each edge (u, ) E. For each

Let G = (V, E) be an undirected graph with distinct edge weights w (u, ν) on each edge (u, ν) ∈ E. For each vertex ν ∈ V, let max(ν) = max(u,ν) ∈ E {w(u, ν)} be the maximum-weight edge incident on that vertex. Let SG = {max(ν) : ν ∈ V} be the set of maximum-weight edges incident on each vertex, and let TG be the maximum-weight spanning tree of G, that is, the spanning tree of maximum total weight. For any subset of edges E′ ⊆ E, define w (E′) = ∑(u,ν)∈ E′ w(u, ν).

a. Give an example of a graph with at least 4 vertices for which SG = TG.

b. Give an example of a graph with at least 4 vertices for which SG ≠ TG.

c. Prove that SG ⊆ TG for any graph G.

d. Prove that w (TG) ≥ w(SG)/2 for any graph G.

e. Give an O(V + E)-time algorithm to compute a 2-approximation to the maximum spanning tree.

Step by Step Solution

3.47 Rating (163 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

a An example of a graph with at least 4 vertices for which SG TG is a graph with three vertices V v1 v2 v3 and four edges E v1 v2 w1 v1 v3 w2 v2 v3 w3 ... 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

Students Have Also Explored These Related Introduction to Algorithms Questions!