Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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

Recommended Textbook for

Data Management Databases And Organizations

Authors: Watson Watson

5th Edition

0471715360, 978-0471715368

More Books

Students also viewed these Databases questions

Question

Dont off er e-mail communication if you arent going to respond.

Answered: 1 week ago