Function PGASetDENumDiffs

Function Documentation

void PGASetDENumDiffs(PGAContext *ctx, int val)

Set the number of differences for Differential Evolution.

Description

Some variants of Differential Evolution can specify the number of differences that go into the new value of an allele. By default this number is 1.

Example

PGAContext *ctx;

...
PGASetDENumDiffs (ctx, 2);

Parameters
  • ctx – context variable

  • val – the number of differences

Returns

None