50 likes | 198 Views
Algorithmics animation workshop Minimum Spanning trees. Dena Ghiassi Supervisor: A. Mirzaian. MST. For an undirected graph G=(V,E), find T Í E that connect all vertices and whose total weight : W(T)= å w(u,v) is minimized (u,v) ÎT. 0. v0. W(T)=2. v2. 3. 2. v1.
E N D
Algorithmics animation workshop Minimum Spanning trees Dena Ghiassi Supervisor: A. Mirzaian
MST • For an undirected graph G=(V,E), find T ÍE that connect all vertices and whose total weight : W(T)=å w(u,v) is minimized (u,v) ÎT 0 v0 W(T)=2 v2 3 2 v1
MST Application? • Phone network design • Traveling salesman problem • Design of electric Circuit
MST Algorithms • Prim • Kruskal • Cheriton-Tarjan • Greedy Algorithms • Complexity - Prim & Kruskal O(E lgV) - Cheriton-Tarjan O(V)