Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Problem 3 . Suppose we are given a undirected weighted graph G = ( V , E; w ) , where w : E -

Problem 3.
Suppose we are given a undirected weighted graph G =(V, E; w), where w : E -> R is the map to assign a
weight w(e) to each edgee in E. Let T be a minimum spanning tree of G.
a) Now let G1=(V, E; w1) be a modified version of G: In particular, G1 share the same vertex set and
edge set as G. The only difference lies in the edge weights, where for any edge e in E, the new weight
doubles the previous weight w(e); that is, w1(e)=2w(e).
(True or False): The tree T is still a minimum spanning tree for G1 as well. You do not need to
provide a justification.
b) Now let G2=(V, E; w2) be another modified version of G: In particular, G1 share the same vertex
set and edge set as G. The only difference lies in the edge weights, where for any edge e in E, the new
weight equals the previous weight w(e)+2; that is, w2(e)= w(e)+2.
(True or False): The tree T is still a minimum spanning tree for G2 as well. You do not need to
provide a justification.
c) Let s in V be a source node. Let T be a shortest path tree of G from the source s. Consider the
modified graph G2 defined above.
(True or False): The tree T is a shortest path tree for G2 from the source s as well.
Problem 3.
Suppose we are given a undirected weighted graph G=(V,E;w), where w:ER is the map to assign a
weight w(e) to each edgee inE. Let T** be a minimum spanning tree of G.
a) Now let G1=(V,E;w1) be a modified version of G : In particular, G1 share the same vertex set and
edge set as G. The only difference lies in the edge weights, where for any edge einE, the new weight
doubles the previous weight w(e); that is,w1(e)=2w(e).
(True or False): The tree T** is still a minimum spanning tree for G1 as well. You do not need to
provide a justification.
b) Now let G2=(V,E;w2) be another modified version of G : In particular, G1 share the same vertex
set and edge set as G. The only difference lies in the edge weights, where for any edge einE, the new
weight equals the previous weight w(e)+2; that is,w2(e)=w(e)+2.
(True or False): The tree T** is still a minimum spanning tree for G2 as well. You do not need to
provide a justification.
c) Let sinV be a source node. Let widehat(T) be a shortest path tree of G from the source s. Consider the
modified graph G2 defined above.
(True or False): The tree widehat(T) is a shortest path tree for G2 from the source s as well.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Advanced Database Systems

Authors: Carlo Zaniolo, Stefano Ceri, Christos Faloutsos, Richard T. Snodgrass, V.S. Subrahmanian, Roberto Zicari

1st Edition

155860443X, 978-1558604438

More Books

Students also viewed these Databases questions

Question

Why is the System Build Process an iterative process?

Answered: 1 week ago