正在加载图片...
ui is the smallest number not in {u1,,u-1}U{v,,vn-1} T 2) 5 T=empty graph; Vn-1=n; for i=1 to n-1 ui:smallest number not in ul,...ui-1)Ufvis....Vn-1) u:2,4,5,6,3,1 add edge (ui,vi)to T; :4,3,1,3,1,7 (V1,V2,…,Vn-2)4 3 6 2 5 1 7 T : ui : vi : 4, 3, 1, 3, 1, 7 2, 4, 5, 6, 3, 1 (v1, v2, ... , vn-2) {u1,...,ui￾1} ￾ {vi,...,vn￾1} ui is the smallest number not in T = empty graph; ui : smallest number not in add edge (ui,vi) to T ; for i = 1 to n-1 {u1,...,ui-1}∪{vi,...,vn-1} vn-1 = n ;
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有