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_CROSS
andPGA_MIX_MUTATE_AND_CROSS
have 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