table of contents
other versions
- jessie 1.1.1-3
PGAGetFitness(1) | PGAPack | PGAGetFitness(1) |
NAME¶
PGAGetFitness - returns the fitness value for a stringINPUT PARAMETERS¶
- ctx
- - context variable
- p
- - string index
- pop
- - symbolic constant of the population the string is in
OUTPUT PARAMETERS¶
- none
SYNOPSIS¶
#include "pgapack.h" double PGAGetFitness(ctx, p, pop) PGAContext *ctx int p int pop
LOCATION¶
fitness.cEXAMPLE¶
Example: PGAContext *ctx; int p; double fit; : fit = PGAGetFitness(ctx, p, PGA_NEWPOP);
05/01/95 |