Skip to content

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