Algorithm 2 presents a general framework to multiset mutation
that uses a traditional mutation operator to mutate one
MultiIndividual (MI). The algorithm receives as parameters a MI,
constituted by the tuple , a baseline mutation
probability (minProb) and a traditional mutation operator
(mutOperator). The algorithm applies the traditional mutation
operator to the genotype of a MI with the probability modified by
the waveFunction (Equation 1) parameterized by the copy number
of genotype. The algorithm returns a MultiPopulation of mutant
individuals.