Skip to content

mutate() must skip elitist genomes #160

Description

@egtzori

neataptic version: 1.4.7
As commented in the source (neat.js)
// Elitist genomes should not be included
but code on next line does
for (var i = 0; i < this.population.length; i++) {

(includes elitist genomes to roll for mutation)
Fixing this improves network performance for me.

I will create a pull request to patch this

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions