Function PGAGetNumReplaceValue

Function Documentation

int PGAGetNumReplaceValue(PGAContext *ctx)

Return the maximum number of strings to replace in each generation.

Example

PGAContext *ctx;
int numreplace;

...
numreplace = PGAGetNumReplaceValue (ctx);

Parameters
  • ctx – context variable

Returns

The maximum number number of strings to replace each generation