heuristic_matrices = calculate_heuristic(city) print('終點數量', len(node)) # 要重新收集的最段路徑維度資料(要修改) # file_name = ['NotFoundNode(Distance)', 'NotFoundNode(Time)', # 'NotFoundNode(Dimension3)', 'NotFoundNode(Dimension4)', # 'NotFoundNode(Dimension5)', 'NotFoundNode(Dimension6)'] """ # 基本設定 dimension = [Distance, TIme, Dimension3, Dimension4, Dimension5, Dimension6] dimension 需要改 """ dimension = "Time" file_name = 'data/Oldenburg/NotFoundNode/NotFoundNode(' + dimension + ').txt' not_found_node = LoadData.load_not_found_node(file_name) number = len(not_found_node) print('number->', number) # x=input('Check') data_set1 = not_found_node[0:541958] data_set2 = not_found_node[541958:1083917] data_set3 = not_found_node[1083917:1625875] data_set4 = not_found_node[1625875:2167834] data_set5 = not_found_node[2167834:2709792] data_set6 = not_found_node[2709792:3251751] data_set7 = not_found_node[3251751::] # data_set8 = not_found_node[3319496::] # data_set9 = not_found_node[3372186::] # data_set10 = not_found_node[3414339::]