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

add mutMixedAttributes mutation function #752

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mg-grayfox
Copy link

@mg-grayfox mg-grayfox commented Aug 8, 2024

'Mutate an individual by applying a mutation function to each attribute with probability indpb.
the individual is created by initCycle and has attributes of diferent types and arguments hence need specific mutation function.

:param individual: Individual to be mutated.
:param seqFunc: sequence of functions to be applied to attributes.
:param indpb: Independent probability for each attribute to be mutated.
:returns: A tuple of one individual.

fixes #755

@mg-grayfox mg-grayfox changed the title added mutMixedAttributes mutation function add mutMixedAttributes mutation function Aug 28, 2024
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

Successfully merging this pull request may close these issues.

no mutation function to handle individual with mixed data types with different characteristics
1 participant