Skip to content

Instantly share code, notes, and snippets.

@eneroth
Created November 2, 2014 12:48
Show Gist options
  • Save eneroth/b921444fbdcf7734f416 to your computer and use it in GitHub Desktop.
Save eneroth/b921444fbdcf7734f416 to your computer and use it in GitHub Desktop.
(let [grunka #(mate (rand-nth fittest) (rand-nth fittest))
pryl (repeatedly num-matings grunka)]
(scores goal (mutate-population pryl)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment