Learn R Programming

ExpDE (version 0.1.4)

mutation_best: /best mutation for DE

Description

Implements the "/best/nvecs" mutation for the ExpDE framework

Usage

mutation_best(X, mutpars)

Arguments

X

population matrix

mutpars

mutation parameters (see Mutation parameters for details)

Value

Matrix M containing the mutated population

Mutation Parameters

The mutpars parameter contains all parameters required to define the mutation. mutation_best() understands the following fields in mutpars:

  • f : scaling factor for difference vector(s). Accepts numeric vectors of size 1 or nvecs.

  • nvecs : number of difference vectors to use. Accepts 1 <= nvecs <= (nrow(X)/2 - 2) Defaults to 1.

Warning

This routine will search for the performance vector of population X (J) in the parent environment (using parent.frame(). This variable must be defined for mutation_best() to work.

References

K. Price, R.M. Storn, J.A. Lampinen, "Differential Evolution: A Practical Approach to Global Optimization", Springer 2005