PGASetFitnessType(3)

PGASetFitnessType3

Set the type of fitness algorithm to use. 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.

Usage

void PGASetFitnessType(ctx, fitness_type)

PGAContext *ctx

int fitness_type

Input parameters

ctx

- context variable

fitness_type

- symbolic constant to specify fitness type

Output parameters

none

Location

fitness.c

Examples

Example:
PGAContext *ctx;
:
PGASetFitnessType(ctx, PGA_FITNESS_RANKING);

Releases

8 releases since Debian 1.1 (Buzz); the text changed 1 time.

  1. 1.1
  2. 1.2–3.1

From pgapack 1.0.0.1-3 in Debian 3.1 (Sarge). Parsed by carta from the page's man source.