Question: Question 1 ( 1 4 marks ) Let = ( , ) be a connected, undirected graph. a ) [ 7 marks ] Assume that
Question
marks
Let
be a connected, undirected graph.
a
marks
Assume that
and
are spanning
trees of
and that their sets of edges meet the following conditions:
cap
cap
and
cap
represents the empty set.
What is the smallest number of vertices that G can have? Explain your answer
and provide an example of such a graph. Clearly describe the
spanning trees in
the example you provide.
b
marks
Let
be a graph. Provide an algorithmic strategy that can find
and output exactly two spanning trees of
that do not share any edges, e
g
where
and
are spanning trees of
and
cap
if such two spanning trees exist.
Provide your algorithmic strategy using pseudo code or a detailed description in
natural language. Explain why your algorithmic strategy meets the requirement.
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
