Function PGASetupDE

Function Documentation

double PGASetupDE(PGAContext *ctx, int p, int pop, int maxidx, int *idx)

Helper function for differential evolution, used by both, the integer and the real implementations.

Parameters
  • ctx – context variable

  • p – string index

  • pop – symbolic constant of the population the string is in

  • maxidx – maximum index of DE vectors needed

  • idx – indeces of population members

Returns

dither value