darwinning
darwinning copied to clipboard
A Ruby gem for genetic algorithms.
In the example directory there are examples with limited number of genes: Binary -10, Cookies -11, Fifteen - 3 and Triple - 3. How to implement variabile number of genes...
Hey, Thanks for this project. However, it is lacking a license which means I am currently unable to use it. Could you please add a license? https://choosealicense.com/no-permission https://help.github.com/articles/adding-a-license-to-a-repository/ Thanks
Wonderful (and simple) tool that I've been using to try and solve a tricky problem with balancing work teams. I've been wondering if there is any way to seed the...
## What 🤔 - Add a reference to `population` to `Organism` and pass it down through each generation. - Set required minimum ruby version to 2.0 to ensure support for...
The flaky tests were a result of the history array being added to twice for each generation. The PR resolve the double history post and cleans up some of the...
I noticed while working on an unrelated, forthcoming pull request that two of the specs in `population_spec.rb` fail _sometimes_ in master.   I may look into it if I...
Is there any way to specify arguments to be passed in to the organism's `initialize`? E.g: Consider [the example in the README](https://github.com/dorkrawk/darwinning/tree/b6795c92698a5c15acb8fc7b6ccc6be3af06c836#include-style), how could I modify this so I can...
It won't mutate the last gene because of the bug. The corresponding line in mutation.rb:33 should be: `random_index = rand(member.genotypes.length)`