PGASetEvalUpToDate(2)

NAME
PGASetEvalUpToDate - sets the flag associated with a string to PGATRUE or PGAFLASE to indicate whether the evaluate function value is out-of-date or not. Note that this flag is always set to PGATRUE when PGASetEvaluate is called.

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

SYNOPSIS
#include "pgapack.h"
void  PGASetEvalUpToDate(ctx, p, pop, status)
PGAContext *ctx
int p
int pop
int status

LOCATION
fitness.c

EXAMPLE
Example:
To set the evaluation function flag for string p in population PGA_NEWPOP
to PGAFALSE (as might happen after, for example, calling a hill-climbing
routine that modified this string) use
PGAContext *ctx;
int p;
:
PGASetEvalUpToDate(ctx, p, PGA_NEWPOP, PGAFALSE);