tt2 = [] tt3 = [] tt4 = [] tt5 = [] tt6 = [] tt7 = [] tt8 = [] tt9 = [] for i in range(iterations): T1 = runIC01(G1, S) T2 = runIC02(G1, S) T3 = runIC03(G1, S) T4 = runIC04(G1, S) T5 = runIC05(G1, S) T6 = runIC06(G1, S) T7 = runIC07(G1, S) T8 = runIC08(G1, S) T9 = runIC09(G1, S) avg1 += float(len(T1)) / iterations avg2 += float(len(T2)) / iterations avg3 += float(len(T3)) / iterations avg4 += float(len(T4)) / iterations avg5 += float(len(T5)) / iterations avg6 += float(len(T6)) / iterations avg7 += float(len(T7)) / iterations avg8 += float(len(T8)) / iterations avg9 += float(len(T9)) / iterations SUM_LENGTH1 += len(T1) SUM_LENGTH2 += len(T2) SUM_LENGTH3 += len(T3) SUM_LENGTH4 += len(T4)
tt2 = [] tt3 = [] tt4 = [] tt5 = [] tt6 = [] tt7 = [] tt8 = [] tt9 = [] for i in range(iterations): T1 = runIC01(G, S) T2 = runIC02(G, S) T3 = runIC03(G, S) T4 = runIC04(G, S) T5 = runIC05(G, S) T6 = runIC06(G, S) T7 = runIC07(G, S) T8 = runIC08(G, S) T9 = runIC09(G, S) avg1 += float(len(T1)) / iterations avg2 += float(len(T2)) / iterations avg3 += float(len(T3)) / iterations avg4 += float(len(T4)) / iterations avg5 += float(len(T5)) / iterations avg6 += float(len(T6)) / iterations avg7 += float(len(T7)) / iterations avg8 += float(len(T8)) / iterations avg9 += float(len(T9)) / iterations SUM_LENGTH1 += len(T1) SUM_LENGTH2 += len(T2) SUM_LENGTH3 += len(T3) SUM_LENGTH4 += len(T4)