PGAGetEvaluationUpToDateFlag1
Returns true/false to indicate whether the evaluate function value is up to date
Usage
int PGAGetEvaluationUpToDateFlag(ctx,
p,
pop)
PGAContext *ctx
int p
int pop
Input parameters
ctx
|
- context variable |
|---|---|
p
|
- string index |
pop
|
- symbolic constant of the population the string is in |
Output parameters
- none
Location
evaluate.c
Examples
Example:
PGAContext *ctx;
int uptodate;
:
uptodate = PGAGetEvaluationUpToDateFlag(ctx);
switch (uptodate) {
case PGA_TRUE:
printf("Evaluation function value current0);
break;
case PGA_FALSE:
printf("Evaluation function value out-of-date0);
break;
}
Releases
Unchanged in 4 releases since Debian 5.0 (Lenny).