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