Spanning Tree | Minimum Spanning Tree — [Notes]
2 min readMay 29, 2022
Spanning Tree
A spanning tree is a sub-graph of an undirected connected graph, which
- should contain no cycle
- should include all the vertices of the graph
- should contain (|V|-1) edges
- all edges should be connected
- If a vertex is missed, then it is not a spanning tree.
- The edges may or may not have weights assigned to them.
The total number of spanning trees with
n
vertices that can be created from a complete graph is equal ton^(n-2)
Minimum Spanning Tree
- A minimum spanning tree is a spanning tree in which the sum of the weight of the edges is as minimum as possible.
Algorithms —
The minimum spanning tree from a graph is found using the following algorithms:
Spanning Tree Applications
- Computer Network Routing Protocol
- Cluster Analysis
- Civil Network Planning
Minimum Spanning tree Applications
- To find paths in the map
- To design networks like telecommunication networks, water supply networks, and electrical grids.