Function PGASetMutationOnlyFlag
Defined in File pga.c
Function Documentation
-
void PGASetMutationOnlyFlag(PGAContext *ctx, int flag)
Set a boolean flag to indicate that recombination uses mutation only.
Description
Note: This is a legacy interface, use
PGASetMixingType()
instead. Note: This will override settings ofPGASetMutationOrCrossoverFlag()
andPGASetMutationAndCrossoverFlag()
and will set the default (PGASetMutationOrCrossoverFlag()
) when usingPGA_FALSE
as the flag. Do not use this for new code.- Parameters:
ctx – context variable
flag – to indicate if only mutation is used
- Returns:
None