박권수

feature1.0.1 : add something = initalize / fix it

......@@ -32,6 +32,10 @@ def Kruskal(graph) :
edge_list = list(graph['edges'])
edge_list.sort()
#초기화한다
for v in graph['vertices'] :
make_singleton_set(v)
F = set()
index = 0
......@@ -60,8 +64,6 @@ graph = {
(5, 'D', 'E'),
])
}
for i in range(0, 5) :
make_singleton_set(i)
mst = Kruskal(graph)
print(mst)
\ No newline at end of file
......