PGAGetEvaluation - returns the evaluation function value for string p
in population pop
ctx - context variable
p - string index
pop - symbolic constant of the population the string is in
none
#include "pgapack.h"
double PGAGetEvaluation(ctx, p, pop)
PGAContext *ctx
int p
int pop
evaluate.c
Example:
PGAContext *ctx;
int p;
double eval;
:
eval = PGAGetEvaluation(ctx, p, PGA_NEWPOP);
05/01/95 PGAGetEvaluation(1)