I have connected undirected graph. I am looking for the way to construct the balanced spanning tree (T) of a graph
The specific about balanced spanning tree, I could define as follows:
Does anybody can advice any algorithm/s for building such “relatively” balanced spanning tree?
Thank you in advance.
A spanning tree is a sub-graph of an undirected connected graph, which includes all the vertices of the graph with a minimum possible number of edges.
For any complete graph, the number of spanning trees is nn-2. In a complete graph, we can create a spanning tree by removing a maximum of E-N+1 edges. Here, E = Number of edges and N = Number of nodes/vertices. For a simple connected graph, its spanning tree will have N-1 edges, where N is the number of vertices.
By this definition, we can draw a conclusion that every connected and undirected Graph G has at least one spanning tree. A disconnected graph does not have any spanning tree, as it cannot be spanned to all its vertices. We found three spanning trees off one complete graph.
I am not sure about your expression "maximally equivalent."
This problem may not have a perfect solution, so the obvious thing is how much better can we do?
This problem in generality seems to be NP-Complete. Some greedy approaches might result in constant approx algorithms, if you are lucky.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With