PGAGetBestIndex - returns the index of the string with the best
evaluation function value in population pop
ctx - context variable
pop - symbolic constant of the population to find the best string in
none
#include "pgapack.h"
int PGAGetBestIndex(ctx, pop)
PGAContext *ctx
int pop
utility.c
Example:
PGAContext *ctx;
int best;
:
best = PGAGetBestIndex(ctx,PGA_OLDPOP);
05/01/95 PGAGetBestIndex(5)