DEAP / deap

Distributed Evolutionary Algorithms in Python
http://deap.readthedocs.org/
GNU Lesser General Public License v3.0
5.87k stars 1.13k forks source link

add mutMixedAttributes mutation function #752

Open mg-grayfox opened 3 months ago

mg-grayfox commented 3 months ago

'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