Skip to content

Conversation

@eduard-sukharev
Copy link

There's a case — not included in the book, but easily discoverable — when elitism leads to uncontrollable population growth.
When starting evolution "from ground up" (e.g. when genotype is filled with zeros, similar to what used in NEAT) all individuals are started equal and the first call to halloffame.update(population) sets length of Hall of Fame to 1 which is then not updated. That leads to all consequent generations being increased by the full Hall Of Fame list, but reduced only by outdated hof_size value, which gives uncontrollable population growth.

There's a case — not included in the book, but easily discoverable — when elitism leads to uncontrollable population growth.
When starting evolution "from ground up" (e.g. when genotype is filled with zeros, similar to what used in NEAT) all individuals are started equal and the first call to `halloffame.update(population)` sets length of Hall of Fame to 1 which is then not updated. That leads to all consequent generations being increased by the full Hall Of Fame list, but reduced only by outdated `hof_size` value, which gives uncontrollable population growth.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant