Function PGAGetEvaluationUpToDateFlag
Defined in File evaluate.c
Function Documentation
-
int PGAGetEvaluationUpToDateFlag(PGAContext *ctx, int p, int pop)
Return boolean to indicate whether the evaluate function value is up to date.
Example
PGAContext *ctx; int p; ... if (PGAGetEvaluationUpToDateFlag (ctx, p, PGA_NEWPOP)) { printf ("Evaluation function value current\n"); } else { printf ("Evaluation function value out-of-date\n"); }
- Parameters:
ctx – context variable
p – string index
pop – symbolic constant of the population the string is in
- Returns:
Return true if the evaluate function value is up to date