Function PGAGetTruncationProportion

Function Documentation

double PGAGetTruncationProportion(PGAContext *ctx)

Return the proportion of best individuals selected in truncation selection.

Example

PGAContext *ctx;
double v;

...
v = PGAGetTruncationProportion (ctx);

Parameters
  • ctx – context variable

Returns

Proportion of best individuals selected in truncation selection