結果 : kruskal algorithm is based on which method