PGASetEvaluationUpToDateFlag3
Sets the flag associated with a string to pga_true or pga_flase to indicate whether the evaluate function value is out-of-date or not. note that this flag is always set to pga_true when pgasetevaluation is called.
Usage
PGAContext *ctx
int p
int pop
int status
Input parameters
ctx
|
- context variable |
|---|---|
p
|
- string index |
pop
|
- symbolic constant of the population string p is in |
status
|
- boolean for whether up-to-date |
Output parameters
- none
Location
evaluate.c
Examples
Example: Set the evaluation function flag for string p in population PGA_NEWPOP to PGA_FALSE (as might happen after, for example, calling a hill-climbing routine that modified this string). PGAContext *ctx; int p; : PGASetEvaluationUpToDateFlag(ctx, p, PGA_NEWPOP, PGA_FALSE);
Releases
8 releases since Debian 1.1 (Buzz); the text changed 1 time.