gmalik9 / pygep

Automatically exported from code.google.com/p/pygep
0 stars 2 forks source link

use random selection when the fitness mean is 0 #4

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In cases where the mean fitness of a population is 0, the way reproduction
currently works will create a new generation dominated by one chromosome. 
This is fundamentally incorrect.  Instead, it should act as though all
fitnesses were the same positive value, which is essentially random selection.

Original issue reported on code.google.com by ryanjoneil on 22 Apr 2007 at 3:30

GoogleCodeExporter commented 9 years ago
Fixed in v0.1.2.  See r46.

Original comment by ryanjoneil on 22 Apr 2007 at 4:44