Returns the type of fitness transformation used for minimization problems.
ctx
- context variable
none
#include "pgapack.h" int PGAGetFitnessMinType(ctx) PGAContext *ctx
fitness.c
for minimization problems Example: PGAContext *ctx; int fitmintype; : fitmintype = PGAGetFitnessMinType(ctx); switch (fitmintype) { case PGA_FITNESSMIN_RECIPROCAL: printf("Fitness Minimization Type = PGA_FITNESSMIN_RECIPROCAL\n"); break; case PGA_FITNESSMIN_CMAX: printf("Fitness Minimization Type = PGA_FITNESSMIN_CMAX\n"); break; }