Function PGASetDECrossoverProb
Defined in File mutation.c
Function Documentation
-
void PGASetDECrossoverProb(PGAContext *ctx, double val)
Set the crossover probability for Differential Evolution.
Description
The default for the Differential Evolution crossover probability is 0.9.
Example
PGAContext *ctx; ... PGASetDECrossoverProb (ctx, 0.75);
- Parameters:
ctx – context variable
val – the crossover probability
- Returns:
None