박권수

implement touch & length list

......@@ -65,10 +65,14 @@ def dijkstra(w) :
#touch[i] = v1에서 vi로 가기 위한 최단 경로상의 마지막 정점, 즉 v(i-1)
touch = list()
touch.append(0)
#length[i] = v1에서 vi로 가는 현재 최단 경로의 길이
length = list()
length.append(0)
for i in range(1, n) :
touch[i] = i
length[i] = w[0][i]
......