mutationPermutationInterchangeCore: Interchange of permutation elements

View source: R/permutationOperators.R

mutationPermutationInterchangeCoreR Documentation

Interchange of permutation elements

Description

Support function for mutationPermutationInterchange and mutationPermutationSwap.

Usage

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

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

Value

mutated population


CEGO documentation built on May 29, 2024, 3:35 a.m.