Function PGASetDEScaleFactor

Function Documentation

void PGASetDEScaleFactor(PGAContext *ctx, double val)

Set the scale factor F for Differential Evolution.

Description

The default for the scale factor \(F\) is 0.9. For details see section Mutation in the user guide.

Example

PGAContext *ctx;

...
PGASetDEScaleFactor (ctx, 0.75);

Parameters
  • ctx – context variable

  • val – the scale factor

Returns

None