Function PGASetMutationOrCrossoverFlag
Defined in File pga.c
Function Documentation
-
void PGASetMutationOrCrossoverFlag(PGAContext *ctx, int flag)
Set a boolean flag to indicate if recombination uses exactly one of crossover or 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 – to indicate if mutation uses exactly one of crossover or mutation
- Returns:
None