PGASetEvaluationUpToDateFlag(1)

PGASetEvaluationUpToDateFlag1

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.

Usage

PGAContext *ctx

int p

int pop

int status

Overview

Note that this flag is always set to PGA_TRUE when PGASetEvaluation 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

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

Unchanged in 4 releases since Debian 5.0 (Lenny).

  1. 5.0–8

From pgapack 1.1.1-3 in Debian 8 (Jessie). Parsed by carta from the page's man source.