Skip to content

Instantly share code, notes, and snippets.

@fyr91
Created October 3, 2019 09:12
Show Gist options
  • Save fyr91/3645b82bbed46e3c3a76a6025a4c5e1f to your computer and use it in GitHub Desktop.
Save fyr91/3645b82bbed46e3c3a76a6025a4c5e1f to your computer and use it in GitHub Desktop.
mutates = []
cutoff_score = mutation_pool[-1].score
for lineup in mutation_pool:
mutates.append(mutate(lineup, cutoff_score))
population.extend(mutates)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment