PGASetPopSize8
Specifies the size of the genetic algorithm population.
Usage
void PGASetPopSize(ctx,
popsize)
PGAContext *ctx
int popsize
Overview
The default population size is 100.
Input parameters
ctx
|
- context variable |
|---|---|
popsize
|
- the genetic algorithm population size to use |
Output parameters
- none
Location
pop.c
Examples
Example: PGAContext *ctx; : PGASetPopSize(ctx, 200);
Releases
Unchanged in 4 releases since Debian 5.0 (Lenny).