Dit is de opdracht PGASetEvaluationUpToDateFlag die kan worden uitgevoerd in de gratis hostingprovider van OnWorks met behulp van een van onze meerdere gratis online werkstations zoals Ubuntu Online, Fedora Online, Windows online emulator of MAC OS online emulator
PROGRAMMA:
NAAM
PGASetEvaluationUpToDateFlag - stelt de vlag die aan een tekenreeks is gekoppeld in op PGA_TRUE of
PGA_FLASE om aan te geven of de waarde van de evaluatiefunctie verouderd is of niet.
PRODUCTBESCHRIJVING
Houd er rekening mee dat deze vlag altijd is ingesteld op PGA_TRUE wanneer PGASetEvaluation wordt aangeroepen.
INVOER PARAMETERS
ctx - contextvariabele
p - tekenreeksindex
pop - symbolische constante van de populatiereeks p waarin zich bevindt
status - booleaans voor of het up-to-date is
OUTPUT PARAMETERS
geen
KORTE INHOUD
#include "pgapack.h"
ongeldig PGASetEvaluationUpToDateFlag(ctx, p, pop, status)
PGAContext *ctx
int. p
int pop
int-status
LOCATIE
evalueren.c
VOORBEELD
Voorbeeld:
Stel de evaluatiefunctievlag in voor tekenreeks p in populatie PGA_NEWPOP
naar PGA_FALSE (zoals kan gebeuren na bijvoorbeeld het aanroepen van een heuvelklimmen
routine die deze string heeft gewijzigd).
PGAContext *ctx;
int p;
:
PGASetEvaluationUpToDateFlag(ctx, p, PGA_NEWPOP, PGA_FALSE);
05/01/95 PGASetEvaluationUpToDateFlag(1)
Gebruik PGASetEvaluationUpToDateFlag online met behulp van onworks.net-services