Skip to content

Commit

Permalink
update script
Browse files Browse the repository at this point in the history
  • Loading branch information
N-Maas committed Dec 2, 2024
1 parent f972c9a commit d53cfcf
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions run_evo.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ def kill_proc():
"-mdirect",
"--s-num-threads=" + str(threads),
"--verbose=false",
"--evo-dynamic-time-limit=1",
"--evo-randomized-flows=1",
"--time-limit=" + str(int(timelimit / repetitions)),
"--evo-repetitions=" + str(repetitions),
"--evo-frequency-file=" + freq_file,
Expand Down Expand Up @@ -89,9 +91,10 @@ def kill_proc():
MT_KAHYPAR = "/home/nikolai/Documents/Hypergraphs/evo-mt-kahypar/build/mt-kahypar/application/MtKaHyPar"
CONFIG = "/home/nikolai/Documents/Hypergraphs/evo-mt-kahypar/config/evo_quality_preset.ini"

ks = [4, 8, 12, 16, 20, 24, 28, 32, 48, 64, 96, 128]

args = get_args()
for k in range(2, args.maxk + 1):
# TODO: dependent on size of graph?
for k in ks:
timefactor = 1 + (k - 2) * 0.2
timelimit = int(timefactor * args.timelimit)
run_mtk_evo(args.graph, timelimit, k, args.epsilon, args.threads, MT_KAHYPAR, CONFIG)

0 comments on commit d53cfcf

Please sign in to comment.