Function PGASetDEProbabilityEO
Defined in File mutation.c
Function Documentation
-
void PGASetDEProbabilityEO(PGAContext *ctx, double val)
Set the either-or probability of Differential Evolution.
Description
The default for this probability is 0.5, it is only used when the either-or variant of Differential Evolution has been selected by calling
PGASetDEVariant()
with parameterPGA_DE_VARIANT_EITHER_OR
.Example
PGAContext *ctx; ... PGASetDEProbabilityEO (ctx, 0.75);
- Parameters:
ctx – context variable
val – the either-or probability
- Returns:
None