Learn R Programming

CEGO (version 2.4.3)

mutationPermutationInterchangeCore: Interchange of permutation elements

Description

Support function for mutationPermutationInterchange and mutationPermutationSwap.

Usage

mutationPermutationInterchangeCore(
  population,
  popsize,
  mutations,
  index1,
  index2
)

Value

mutated population

Arguments

population

List of permutations

popsize

population size

mutations

number of mutated elements for each individual

index1

vector of first indices, one element for each interchange

index2

vector of second indices, one element for each interchange