Query: pgasetevaluationuptodateflag
OS: debian
Section: 1
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
PGASetEvaluationUpToDateFlag(1) PGAPack PGASetEvaluationUpToDateFlag(1)NAMEPGASetEvaluationUpToDateFlag - 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.DESCRIPTIONNote that this flag is always set to PGA_TRUE when PGASetEvaluation is called.INPUT PARAMETERSctx - context variable p - string index pop - symbolic constant of the population string p is in status - boolean for whether up-to-dateOUTPUT PARAMETERSnoneSYNOPSIS#include "pgapack.h" void PGASetEvaluationUpToDateFlag(ctx, p, pop, status) PGAContext *ctx int p int pop int statusLOCATIONevaluate.cEXAMPLEExample: 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); 05/01/95 PGASetEvaluationUpToDateFlag(1)