Function PGASetDEAuxFactor

Function Documentation

void PGASetDEAuxFactor(PGAContext *ctx, double val)

Set the auxiliary factor K for Differential Evolution.

Description

The default for the aux factor \(K\) of Differential Evolution is \(0.5 * (F + 1)\) where \(F\) is the Differential Evolution scale factor, see PGASetDEScaleFactor().

Example

PGAContext *ctx;

...
PGASetDEAuxFactor (ctx, 0.75);

Parameters
  • ctx – context variable

  • val – the auxiliary factor

Returns

None