PGASetNumReplaceValue8
Specifies the number of new strings to create each generation.
Usage
void PGASetNumReplaceValue(ctx,
pop_replace)
PGAContext *ctx
int pop_replace
Overview
The default is ten percent of the population size
Input parameters
ctx
|
- context variable |
|---|---|
pop_replace
|
- the genetic algorithm population size to use |
Output parameters
- none
Location
pop.c
Examples
Example: PGAContext *ctx; : PGASetNumReplaceValue(ctx, 35);
Releases
Unchanged in 4 releases since Debian 5.0 (Lenny).