PGASetFitnessCmaxValue - Online in the Cloud

This is the command PGASetFitnessCmaxValue that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


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

DESCRIPTION


The default value is 1.01.

INPUT PARAMETERS


ctx - context variable
val - the value of the multiplier

OUTPUT PARAMETERS


none

SYNOPSIS


#include "pgapack.h"
void PGASetFitnessCmaxValue(ctx, val)
PGAContext *ctx
double val

LOCATION


fitness.c

EXAMPLE


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

05/01/95 PGASetFitnessCmaxValue(1)

Use PGASetFitnessCmaxValue online using onworks.net services



Latest Linux & Windows online programs