Question: Consider the problem of a constrained MST. Given a weighted, undirected graph G=(V,E), and given a subset of vertices C?V, describe a method to find
Consider the problem of a constrained MST. Given a weighted, undirected graph G=(V,E), and given a subset of vertices C?V, describe a method to find a constrained MST such that vertices in C only appear as leaves in the constrained MST. What is the running time of your algorithm? Note that for some choice of C, it may be the case that the constraint cannot be satisfied, i.e., it may be the case that there is at least one vertex in C that cannot be made a leaf node. In these cases, you can output that the constraint cannot be satisfied.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
