Function PGASetMutationAndCrossoverFlag
Defined in File pga.c
Function Documentation
-
void PGASetMutationAndCrossoverFlag(PGAContext *ctx, int flag)
Set a boolean flag to indicate if recombination uses both crossover and mutation on selected strings.
Description
Note: This is a legacy interface, use
PGASetMixingType()
instead. Do not use this for new code.- Parameters:
ctx – context variable
flag – PGA_TRUE (default) or PGA_FALSE
- Returns:
None