perone/Pyevolve

[Question] Mutation

Opened this issue · 1 comments

The Mutators.G1DListMutatorIntegerRange only seems to accept one mutation probability, which seems like it is the one that decides if a value on the chromosome should be mutated or not.

However, shouldn't be there also another probability that defines if the mutation should be applied at all or not? I think that's how other libraries work but I have no idea if that's an improvement or not.

As an option to also set the chance of an individual to mutate you can use the rand_apply option from FunctionSlot and have a dummy function with 1 - the probability you want to use.