Let s and t be two vertices in a undirected graph G + (V, E) having distinct…
2005
Let s and t be two vertices in a undirected graph G + (V, E) having distinct positive edge weights. Let [X, Y] be a partition of V such that s ∈ X and t ∈ Y. Consider the edge e having the minimum weight amongst all those edges that have one vertex in X and one vertex in Y. Let the weight of an edge e denote the congestion on that edge. The congestion on a path is defined to be the maximum of the congestions on the edges of the path. We wish to find the path from s to t having minimum congestion. Which one of the following paths is always such a path of minimum congestion?
Answer: A. a path from s to t in the minimum weighted spanning tree — Answer: a path from s to t in the minimum weighted spanning tree (MST). Key property: In an MST, the path between any two vertices minimizes the maximum edge…
- A.
a path from s to t in the minimum weighted spanning tree
- B.
a weighted shortest path from s to t
- C.
an Euler walk from s to t
- D.
a Hamiltonian path from s to t
Attempted by 61 students.
Show answer & explanation
Correct answer: A
Answer: a path from s to t in the minimum weighted spanning tree (MST).
Key property: In an MST, the path between any two vertices minimizes the maximum edge weight along the path (the bottleneck). Therefore the MST path between s and t minimizes congestion.
Let T be a minimum spanning tree and let P_T be the unique path from s to t in T. Let e be the heaviest edge on P_T, with weight w*.
Assume for contradiction there is another s–t path P' whose every edge has weight strictly less than w*.
Removing e from T splits T into two components X and Y with s in X and t in Y. Path P' must contain at least one edge f that goes between X and Y.
By assumption the weight of f is less than w*. Adding f to T creates a cycle that contains e, and e is the heaviest edge on that cycle. Replacing e by f yields a spanning tree with smaller total weight, contradicting the minimality of T.
Thus no s–t path has all edges lighter than w*, so the MST path P_T attains the smallest possible maximum-edge weight among all s–t paths. Hence it minimizes congestion.
This proves that the path between s and t inside a minimum spanning tree is always a path of minimum congestion.
Explore the full course: Iocl Engineers Officers Grade A Paper 2