Function PGASetPopSize
Defined in File pop.c
Function Documentation
-
void PGASetPopSize(PGAContext *ctx, int popsize)
Specify the size of the genetic algorithm population.
Description
The default population size is 100, unless reference directions or reference points have been specified for NSGA-III replacement in which case the default is the number of reference points plus the number of reference directions.
Example
PGAContext *ctx; ... PGASetPopSize (ctx, 200);
- Parameters:
ctx – context variable
popsize – the genetic algorithm population size to use
- Returns:
None