Function PGAGetMutationOrCrossoverFlag
Defined in File pga.c
Function Documentation
-
int PGAGetMutationOrCrossoverFlag(PGAContext *ctx)
Return true if mutation only occurs when crossover does not.
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 only occurs when crossover does not