Ubuntu Manpages

PGAGetWorstIndex

returns the index of the string with the worst evaluation function value in population pop

- context variable
- symbolic constant of the population to find the worst string in

#include "pgapack.h"
int  PGAGetWorstIndex(ctx, pop)
PGAContext *ctx
int pop

utility.c

Example:
PGAContext *ctx;
int worst;
:
worst = PGAGetWorstIndex(ctx,PGA_OLDPOP);