Rechercher une page de manuel
PGAGetFitnessMinType
Langue: en
Version: 261165 (debian - 07/07/09)
Section: 1 (Commandes utilisateur)
NAME
PGAGetFitnessMinType - Returns the type of fitness transformation used for minimization problems.INPUT PARAMETERS
- ctx
- - context variable
OUTPUT PARAMETERS
- none
SYNOPSIS
#include "pgapack.h" int PGAGetFitnessMinType(ctx) PGAContext *ctx
LOCATION
fitness.cEXAMPLE
for minimization problems Example: PGAContext *ctx; int fitmintype; : fitmintype = PGAGetFitnessMinType(ctx); switch (fitmintype) { case PGA_FITNESSMIN_RECIPROCAL: printf("Fitness Minimization Type = PGA_FITNESSMIN_RECIPROCAL); break; case PGA_FITNESSMIN_CMAX: printf("Fitness Minimization Type = PGA_FITNESSMIN_CMAX); break; }
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre