1-sollinsalgorithm-170924053331
1-sollinsalgorithm-170924053331
1. Graph
2. Basic term associate with Graph
3. Spanning Tree
4. Condition for spanning tree
5. Spanning Tree properties
6. Minimum–cost spanning Tree
7. Application of MST
8. Algorithms for Minimum-cost-spanning tree
9. Sollin’s Algorithm
Graph
Application of graph
Terms associate with graph
Vertex
Edge Weight
Directed and un-directed graph
A-cyclic graph
Edge
Example of Un-directed graph
Spanning tree
Total cost=1+2+3+4+5=15 MST
Total cost=2+4+5=11
Total cost=1+2+4=7
Conitnue…
If all the edges have unit cost then all spanning tree are minimal cost
spanning tree and have same cost.
Because all the spanning tree have dame number of vertices and
edges.
Application of MST
R
2 -3
B
7 2 8 -3
Taxonomy
Algorithms to find MST
1. Kruskal’s algorithm
2. Prim’s algorithm
3. Sollin’s algorithm
Sollin’s Algorithm
0
0 28 10 1
14 16
10 1
14 16 5 6 2
5 6 2 25
24 4 12
25 18
12 3
4 22
22 3 MST
Connected graph
Example
MST Cost=62
References
[1]
www.uow.edu.au/~bmaloney/wuct121/GraphsWeek11Lecture2.pdf
[2]-https://www.tutorialspoint.com/data_structures_algorithms/
spanning_tree.htm
[3]-https://www.tutorialspoint.com/data_structures_algorithms/
spanning_tree.htm
[4]-Fundamental of data structure by in c++ by Sartaj //ch#6 pp#361
ANY QUESTION
??