Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Q 3 k - Minimum Spanning Tree Consider the so - called k - Minimum Spanning Tree ( k - MST ) problem, which is
Q kMinimum Spanning Tree
Consider the socalled Minimum Spanning Tree MST problem, which is defined as follows.
An instance of the MST problem is given by a connected undirected graph with
edge weights : and a natural number The question is to find a tree with exactly
nodes that is a subgraph of and minimises the weight among all such trees. Informally, MST is
the variant of the minimum spanning tree problem, where instead of a spanning tree one wants to
find a tree with exactly nodes.
What would be the result if we apply Prim's, respectively Kruskal's, algorithm to the problem by
stopping both algorithms after edges have been added? In the following we refer to these
versions of Prim's and Kruskal's algorithm as the modified algorithm of Prime or Kruskal,
respectively.
Q Modified algorithm of Kruskal
Consider the following graph.
For which of the following edge weights, assigned to the graph above, does the modified algorithm
of Kruskal provide a wrong result assuming that Tick all answers for which this is the case.
Here, means that the edge between vertices a and has weight
Consider the following graph.
For which of the following edge weights, assigned to the graph above, and starting vertex does
the modified algorithm of Prim provide a wrong result assuming that Tick all correct
answers.
Here, means that the edge between vertices a and has weight and a means
that the start vertex for the modified algorithm of Prim is set to the vertex a
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started