Function PGASetFitnessCmaxValue
Defined in File fitness.c
Function Documentation
-
void PGASetFitnessCmaxValue(PGAContext *ctx, double val)
Set value of the multiplier used by MinCmax fitness algorithm so that the worst string has a nonzero fitness.
Description
The default value is 1.01.
Example
PGAContext *ctx; ... PGASetFitnessCmaxValue (ctx, 1.2);
- Parameters:
ctx – context variable
val – the value of the multiplier
- Returns:
None