PGAGetEvaluationUpToDateFlag - Online in the Cloud

This is the command PGAGetEvaluationUpToDateFlag that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


PGAGetEvaluationUpToDateFlag - returns true/false to indicate whether the evaluate
function value is up to date

INPUT PARAMETERS


ctx - context variable
p - string index
pop - symbolic constant of the population the string is in

OUTPUT PARAMETERS


none

SYNOPSIS


#include "pgapack.h"
int PGAGetEvaluationUpToDateFlag(ctx, p, pop)
PGAContext *ctx
int p
int pop

LOCATION


evaluate.c

EXAMPLE


Example:
PGAContext *ctx;
int uptodate;
:
uptodate = PGAGetEvaluationUpToDateFlag(ctx);
switch (uptodate) {
case PGA_TRUE:
printf("Evaluation function value current0);
break;
case PGA_FALSE:
printf("Evaluation function value out-of-date0);
break;
}

05/01/95 PGAGetEvaluationUpToDateFlag(1)

Use PGAGetEvaluationUpToDateFlag online using onworks.net services



Latest Linux & Windows online programs