
請問這題要怎樣解呢 謝謝...
Research Space for Linear Algebra & Discrete Mathematics
Let T’ be a minimum spanning tree
Let T be a tree formed by Kruskal’s algorithm that utilizes edges in T’
whenever a tie needs to be broken
Assumption: T has weight greater than T’
(otherwise Kruskal’s algorithm has produced an optimal solution)
Let e be the smallest weight edge in T that is not in T’
Add e to T’ and consider the cycle CY that is formed
There must be some edge e’ on cycle CY that has weight greater than e (Why?)
Replace e’ by e in T’
We have a new spanning tree T’’ and this new spanning tree has smaller weight
This contradicts the fact that T’ was a minimum spanning tree
四、
五、
六、