Function PGASetDEDither

Function Documentation

void PGASetDEDither(PGAContext *ctx, double val)

Set the Differential Evolution dither range (+/-).

Description

By default dither is turned off (the value is 0 by default). Quite large amounts (on the order of 0.5) are recommended for some problems like digital filter design. See section Mutation in the user guide for details.

Example

PGAContext *ctx;

...
PGASetDEDither (ctx, 0.5);

Parameters
  • ctx – context variable

  • val – the dither range

Returns

None