PGASetMaxFitnessRank(3)

PGASetMaxFitnessRank3

The value of the parameter max when using linear ranking for fitness determination. the default value is 1.2. the value must be from the interval [1.0, 2.0]. the fitness type must have been set to pga_fitness_ranking with pgasetfitnesstype for this function call to have any effect.

Usage

void PGASetMaxFitnessRank(ctx, fitness_rank_max)

PGAContext *ctx

double fitness_rank_max

Input parameters

ctx

- context variable

max

- the value of the parameter Max when using linear ranking

Output parameters

none

Location

fitness.c

Examples

Example:
PGAContext *ctx;
:
PGASetMaxFitnessRank(ctx, 1.1);

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.