Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You are given a tree T which is a MST of a graph G = ( V, E ). For one particular edge e which

You are given a tree T which is a MST of a graph G = (V, E). For one particular edge e which is not in T , its edge weight is decreased (all other edges stay the same).

Specifically the weight of echanged from a to b where a > b > 0.

Find a MST T 0 for this new graph using the MST T for the old graph.

The set T is given as a list of edges or in adjacency list representation (whichever is convenient for you). You can access the function w() for the weight of each edge. You are given one particular edge e = (y, z) where e 2/ T and you are given the old weight a and new weight b for this edge e.

Part (a): Explain your algorithm for finding a MST T 0 for these new weights.

Part (b): State and explain the running time in terms of n = V and m = E . F

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

Step: 3

blur-text-image

Ace Your Homework with AI

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

Get Started

Students also viewed these Databases questions