PGAGetEvaluationUpToDateFlag − returns true/false to indicate whether the evaluate function value is up to date
ctx |
- context variable |
||
p |
- string index |
||
pop |
- symbolic constant of the population the string is in |
none |
#include "pgapack.h"
int PGAGetEvaluationUpToDateFlag(ctx, p, pop)
PGAContext *ctx
int p
int pop
evaluate.c
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;
}