Is this a maximum leaf spanning tree?

70 Views Asked by At

enter image description here

This is non-oriented weightless graph. I need to find the maximum leaf spanning tree for this graph. Am I made a correct maximum leaf spanning tree like in this pic enter image description here, or not? Thank you for the answers. So, the maximum number of leaves is 3?

1

There are 1 best solutions below

5
On BEST ANSWER

A spanning tree of a Graph G is a tree that include all vertices of the original graph. Here your first graph got 6 vertices while the second have only have 5. It doesnt include the vertex F.

To find the maximum leaf spanning tree. An easy solution would be too find the minimum Connected Dominating set. You can read more about it here.

In this case, the minimum connected dominating set would be {B,E}. So the leaf would be the four other vertices.

enter image description here