Function PGAGetNumIslands

Function Documentation

int PGAGetNumIslands(PGAContext *ctx)

Returns the number of islands to use in an island model.

Example

PGAContext *ctx;
int npop;

...
npop = PGAGetNumIslands (ctx);

Parameters
  • ctx – context variable

Returns

The number of islands to use in an island model