Skip to content

Commit

Permalink
parameter_sweep.py: fix radius, +seeds, other tuning
Browse files Browse the repository at this point in the history
  • Loading branch information
Carter90 committed May 13, 2022
1 parent 5abbf3c commit e4109ea
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions parameter_sweep.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ def main():

# Create tasks
tasks = []
for seed in random.sample(range(sys.maxsize), k=3):
for agents in range(50, 100, 2):
for node_degree in range(2, 16):
for radius in range(20, 50, 2):
tasks.append((seed, agents, node_degree, radius))
for seed in random.sample(range(sys.maxsize), k=100):
for agents in range(50, 110, 2):
for node_degree in range(2, 15):
radius = 999
tasks.append((seed, agents, node_degree, radius))

print("Total of " + str(len(tasks)) + " experiments to be run")

Expand Down

0 comments on commit e4109ea

Please sign in to comment.