Support function for mutationPermutationInterchange
and mutationPermutationSwap
.
mutationPermutationInterchangeCore(
population,
popsize,
mutations,
index1,
index2
)
mutated population
List of permutations
population size
number of mutated elements for each individual
vector of first indices, one element for each interchange
vector of second indices, one element for each interchange