.TH PGAGetFitness 1 "05/01/95" " " "PGAPack" .SH NAME PGAGetFitness \- returns the fitness value for a string .SH INPUT PARAMETERS .PD 0 .TP ctx - context variable .PD 0 .TP p - string index .PD 0 .TP pop - symbolic constant of the population the string is in .PD 1 .SH OUTPUT PARAMETERS .PD 0 .TP none .PD 1 .SH SYNOPSIS .nf #include "pgapack.h" double PGAGetFitness(ctx, p, pop) PGAContext *ctx int p int pop .fi .SH LOCATION fitness.c .SH EXAMPLE .nf Example: PGAContext *ctx; int p; double fit; : fit = PGAGetFitness(ctx, p, PGA_NEWPOP); .fi