Rechercher une page de manuel
PGASetFitnessType
Langue: en
Version: 251284 (debian - 07/07/09)
Section: 1 (Commandes utilisateur)
NAME
PGASetFitnessType - Set the type of fitness algorithm to use.DESCRIPTION
Valid choices are PGA_FITNESS_RAW, PGA_FITNESS_NORMAL, or PGA_FITNESS_RANKING for raw fitness (the evaluation function value), linear normalization, or linear ranking, respectively. The default is PGA_FITNESS_RAW.INPUT PARAMETERS
- ctx
- - context variable
- fitness_type
- - symbolic constant to specify fitness type
OUTPUT PARAMETERS
- none
SYNOPSIS
#include "pgapack.h" void PGASetFitnessType(ctx, fitness_type) PGAContext *ctx int fitness_type
LOCATION
fitness.cEXAMPLE
Example: PGAContext *ctx; : PGASetFitnessType(ctx, PGA_FITNESS_RANKING);
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre