Function PGAGetMutationAndCrossoverFlag
Defined in File pga.c
Function Documentation
-
int PGAGetMutationAndCrossoverFlag(PGAContext *ctx)
Return true if mutation occurs only when crossover does.
Description
Note: This is a legacy interface. If mixing types other than
PGA_MIX_MUTATE_OR_CROSSandPGA_MIX_MUTATE_AND_CROSShave been set this might return wrong values, usePGAGetMixingType()instead. Do not use this for new code.- Parameters:
ctx – context variable
- Returns:
Return true if mutation is applied to crossed-over strings