PGASetEvaluation1
Set the evaluation function value for a string to a specified value.
Usage
PGAContext *ctx
int p
int pop
double val
Overview
Also sets the evaulation up to date flag to PGA_TRUE.
Input parameters
ctx
|
- context variable |
|---|---|
p
|
- string index |
pop
|
- symbolic constant of the population string p is in |
val
|
- the (user) evaluation value to assign to string p |
Output parameters
- none
Location
evaluate.c
Examples
Example: Set the evaluation function value of string p in population PGA_NEWPOP to 123.456. PGAContext *ctx; int p; : PGASetEvaluation(ctx, p, PGA_NEWPOP, 123.456);
Releases
Unchanged in 4 releases since Debian 5.0 (Lenny).