Specifies the number of new strings to create each generation.
The default is ten percent of the population size
ctx
- context variable
pop_replace
- the genetic algorithm population size to use
none
#include "pgapack.h" void PGASetNumReplaceValue(ctx, pop_replace) PGAContext *ctx int pop_replace
pop.c
Example: PGAContext *ctx; : PGASetNumReplaceValue(ctx, 35);