-
Notifications
You must be signed in to change notification settings - Fork 0
Description
As says the title, selection is not so easy.
I added statistics to show how many machines are halted after a run of the population.
In fact most machines are halted. I think this is because the selection function keep machines who don't run too far.
But with these machines, we loose diversity and the population do not evolve (and new machines created by mutations and crossover seems to be often quickly discarded).
I tried to use an uniform selection method in early_dead function (uniform) but then it is hard to balance between mutation rate (which is close to a creation rate) and the ceil in early dead : the extremal cases are too much deletion -> population size goes to 0 and too much creation -> population size goes to infinity, and my computer blow up.