A function which performs binary mutation
Mut_Indiv = mutation_ga_binary(Indiv,param)
:Indiv the individual on which we will perform the mutation. : :param a list of parameters.
- “binary_length”: the size of the binary code.
- “multi_mut”: a boolean. If %T, several random bits will be flipped.
- “multi_mut_nd”: the number of bits to be flipped. Works only when multi_mut is set to %T.
: :Mut_Indiv The mutated individual. :
This function performs a classical multi-bits binary mutation.