Query: pgasetfitnessmintype
OS: debian
Section: 1
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
PGASetFitnessMinType(1) PGAPack PGASetFitnessMinType(1)NAMEPGASetFitnessMinType - sets the type of algorithm used if a minimization problem is specified to determine how values are remapped for max- imization.DESCRIPTIONValid 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_CMAXINPUT PARAMETERSctx - context variable fitness_type - symbolic constant to specify fitness minimization typeOUTPUT PARAMETERSnoneSYNOPSIS#include "pgapack.h" void PGASetFitnessMinType(ctx, fitness_type) PGAContext *ctx int fitness_typeLOCATIONfitness.cEXAMPLEExample: PGAContext *ctx; : PGASetFitnessMinType(ctx, PGA_FITNESSMIN_CMAX); 05/01/95 PGASetFitnessMinType(1)