Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] Mutation #65

Open
cristianocca opened this issue Apr 3, 2015 · 1 comment
Open

[Question] Mutation #65

cristianocca opened this issue Apr 3, 2015 · 1 comment

Comments

@cristianocca
Copy link

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.

@cristianocca
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant