Let G = (V, E) be an undirected, connected graph with weight function w : E R,
Question:
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.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Discrete and Combinatorial Mathematics An Applied Introduction
ISBN: 978-0201726343
5th edition
Authors: Ralph P. Grimaldi
Question Posted: