Skip to content

Commit

Permalink
script updates
Browse files Browse the repository at this point in the history
  • Loading branch information
N-Maas committed Oct 9, 2024
1 parent e2a63d3 commit 8b2cf7b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions run_evo.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
def get_args():
parser = argparse.ArgumentParser()
parser.add_argument("graph", type=str)
parser.add_argument("--threads", type=int, default=8)
parser.add_argument("--threads", type=int, required=True)
parser.add_argument("--epsilon", type=float, default=0.03)
parser.add_argument("--timelimit", type=int) # for one k
parser.add_argument("--timelimit", type=int, required=True) # for one k
parser.add_argument("--maxk", type=int, default=32)

return parser.parse_args()
Expand Down Expand Up @@ -45,7 +45,7 @@ def run_mtk_evo(graph, timelimit, k, epsilon, threads, mt_kahypar, config, detec
"--verbose=false",
"--time-limit=" + str(int(timelimit / repetitions)),
"--evo-repetitions=" + str(repetitions),
"--evo-frequency-file=" + os.path.dirname(graph) + freq_file,
"--evo-frequency-file=" + os.path.dirname(graph) + "/" + freq_file,
]
print(shlex.join(cmd))
if detect_instance_type:
Expand Down

0 comments on commit 8b2cf7b

Please sign in to comment.