Commit 721e58dd authored by LongChan's avatar LongChan
Browse files

runnable

parent d4c582df
......@@ -263,6 +263,7 @@ class cma_approach(object):
self.i += 1
self.ending_iter = self.i
return temp_out
def report(self):
##print(self.i, self.es.sigma)
......
......@@ -67,7 +67,7 @@ def trial(prop):
success, out = instance.report()
trials += 1
process_out.append(out)
return out
return process_out
topology = sys.argv[1]
k = int(sys.argv[2])
......@@ -83,8 +83,8 @@ if __name__ == "__main__":
MAX_TRIAL = sys.argv[1]
approaches = []
for idx, n in enumerate(nets[4:5]):
for part in range(3, max_partitions[4:5][idx] + 1):
for idx, n in enumerate(nets):
for part in range(3, max_partitions[idx] + 1):
for seed in seedings:
for pop in pop_size:
for tar in targets:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment