Function PGAGetPopSize

Function Documentation

int PGAGetPopSize(PGAContext *ctx)

Return the population size.

Example

PGAContext *ctx;
int popsize;

...
popsize = PGAGetPopSize (ctx);

Parameters
  • ctx – context variable

Returns

The population size