Function PGAGetEvalCount

Function Documentation

int PGAGetEvalCount(PGAContext *ctx)

Return the number of function evaluations so far.

Example

PGAContext *ctx;
int g;

...
g = PGAGetEvalCount (ctx);

Parameters
  • ctx – context variable

Returns

The number of function evaluations