PGASetFitnessCmaxValue(1)

PGASetFitnessCmaxValue1

The value of the multiplier used by pgafitnessmincmax so that the worst string has a nonzero fitness.

Usage

void PGASetFitnessCmaxValue(ctx, val)

PGAContext *ctx

double val

Overview

The default value is 1.01.

Input parameters

ctx

- context variable

val

- the value of the multiplier

Output parameters

none

Location

fitness.c

Examples

Example:
PGAContext *ctx;
:
PGASetFitnessCmaxValue(ctx, 1.2);

Releases

Unchanged in 4 releases since Debian 5.0 (Lenny).

  1. 5.0–8

From pgapack 1.1.1-3 in Debian 8 (Jessie). Parsed by carta from the page's man source.