Function PGACreatePop
Defined in File create.c
Function Documentation
-
static void PGACreatePop(PGAContext *ctx, int pop)
Allocate a population of individuals and calls PGACreateIndividual to set up each one.
Example
PGAContext *ctx; ... PGACreatePop (ctx, PGA_NEWPOP);
- Parameters:
ctx – context variable
pop – symbolic constant of the population to create
- Returns:
None