Question: Let G = ( V , E , w ) be a connected weighted graph in which each edge e in E has weight w
Let GVEw
be a connected weighted graph in which each edge e in E
has weight we
Suppose T
is a Shortest Path Tree SPT of G
rooted at some source vertex s
and T
is a Minimum Spanning Tree MST of G
Now consider keeping the same set of vertices and edges, but modifying the edge weights to get a modified graph GVEw
where the modified edge weights are defined as wewewe
for each edge e in E
Then, as a set of edges in G
Question Answer
a
T
is an SPT of G
and T
is an MST of G
b
T
may not be an SPT of G
but T
is an MST of G
c
T
is an SPT of G
but T
may not be an MST of G
d
T
may not be an SPT of G
and T
may not be an MST of G
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
