Function PGARunMutationOnly
Defined in File pga.c
Function Documentation
-
void PGARunMutationOnly(PGAContext *ctx, int oldpop, int newpop)
Perform only mutation.
Description
Assumes
PGASelect()
has been called.Example
PGAContext *ctx; ... PGARunMutationOnly (ctx, PGA_OLDPOP, PGA_NEWPOP);
- Parameters:
ctx – context variable
oldpop – symbolic constant of old population
newpop – symbolic constant of new population
- Returns:
newpop is modified by side-effect