.TH PGASetMaxFitnessRank 1 "05/01/95" " " "PGAPack" .SH NAME PGASetMaxFitnessRank \- The value of the parameter Max when using linear ranking for fitness determination. .SH DESCRIPTION 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. .SH INPUT PARAMETERS .PD 0 .TP ctx - context variable .PD 0 .TP max - the value of the parameter Max when using linear ranking .PD 1 .SH OUTPUT PARAMETERS .PD 0 .TP none .PD 1 .SH SYNOPSIS .nf #include "pgapack.h" void PGASetMaxFitnessRank(ctx, fitness_rank_max) PGAContext *ctx double fitness_rank_max .fi .SH LOCATION fitness.c .SH EXAMPLE .nf Example: PGAContext *ctx; : PGASetMaxFitnessRank(ctx, 1.1); .fi