问题如下:
引用:
|
Kruskal's algorithm can return different spanning trees for the same input graph G, depending on how ties are broken when the edges are sorted into order. Show that for each minimum spanning tree T of G, there is a way to sort the edges of G in Kruskal's algorithm so that the algorithm returns T.
|
我的想法是,对于联通图G的MST的某条边L,断开后形成的两个划分之间的所有边的权重的最小值和L的权重相等,那么按我的直觉(-_-)这些权重相等的边应该有排列使Kruskal's algorithm运行时选中L。
只有一个模糊的直觉支撑这个想法,有谁能给个严密的证明么?