Skip to content

Develop mutation in the Generation class #25

@gnypit

Description

@gnypit

Based on the probability of reseting a member of the generation (prob=10% means we randomly choose 10% of the members and use the genome generator to create new genomes for selected members), an efficient way to apply mutation is required.

IMPORTANT: it shouldn't be done in a loop, as computing probabilities, even pseudo-random ones, takes up a lot of time. It's better to have a tool to create a "mask" with indexes of the members to be mutated and then, e.g., to use the mutate_member method in the Generation class.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requesthelp wantedExtra attention is needed

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions