folder = "../data/alb/"
instance_file= "instance_n20_1.alb"
instance_file= "instance_n20_99.alb"
nb_tasks, max_nb_stations, cycle_time, processing_time, successors = read_instance(folder+instance_file)
print("タスク数=", nb_tasks)
print("最大ステーション数=", max_nb_stations)
print("サイクル時間=", cycle_time)
print("処理時間=", processing_time)
print("後続タスク=", successors)
タスク数= 20
最大ステーション数= 20
サイクル時間= 1000
処理時間= [730, 589, 474, 390, 462, 496, 480, 425, 545, 562, 438, 702, 439, 285, 511, 483, 468, 654, 534, 552]
後続タスク= {0: [12], 1: [2, 3, 4, 5], 2: [12], 3: [12], 4: [6, 7], 5: [8, 13], 6: [12], 7: [8, 9, 10, 11], 8: [12], 9: [19], 10: [12, 13, 14], 11: [12], 12: [15, 16, 17, 18], 13: [19]}