PGASetEvaluationUpToDateFlag(3)

PGASetEvaluationUpToDateFlag3

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. note that this flag is always set to pga_true when pgasetevaluation is called.

Usage

PGAContext *ctx

int p

int pop

int status

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

Location

evaluate.c

Examples

Example:
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);

Releases

8 releases since Debian 1.1 (Buzz); the text changed 1 time.

  1. 1.1
  2. 1.2–3.1

From pgapack 1.0.0.1-3 in Debian 3.1 (Sarge). Parsed by carta from the page's man source.