PGASetFitnessMinType3
Sets the type of algorithm used if a minimization problem is specified to determine how values are remapped for maximization. valid choices are pga_fitnessmin_reciprocal and pga_fitnessmin_cmax to do the mapping using the reciprocal of the evaluation function, or by subtracting the worst evaluation function value from each evaluation function value, respectively. the default is pga_fitnessmin_cmax
Usage
void PGASetFitnessMinType(ctx,
fitness_type)
PGAContext *ctx
int fitness_type
Input parameters
ctx
|
- context variable |
|---|---|
fitness_type
|
- symbolic constant to specify fitness minimization type |
Output parameters
- none
Location
fitness.c
Examples
Example: PGAContext *ctx; : PGASetFitnessMinType(ctx, PGA_FITNESSMIN_CMAX);
Releases
8 releases since Debian 1.1 (Buzz); the text changed 1 time.