Question: Question 1 ( 1 4 marks ) Let = ( , ) be a connected, undirected graph. a ) [ 7 marks ] Assume that

Question
1
(
1
4
marks
)
Let
=
(
,
)
be a connected, undirected graph.
a
)
[
7
marks
]
Assume that
1
=
(
,
1
)
,
2
=
(
,
2
)
and
3
=
(
,
3
)
are spanning
trees of
and that their sets of edges meet the following conditions:
1
\cap
2
=
,
1
\cap
3
=
and
2
\cap
3
=
.
(
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
3
spanning trees in
the example you provide.
b
)
[
7
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
.
,
1
=
(
,
1
)
,
2
=
(
,
2
)
where
1
and
2
are spanning trees of
and
1
\cap
2
=
,
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 blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!