PGAGetBestIndex5
Returns the index of the string with the best evaluation function value in population pop
Usage
#include "pgapack.h" int PGAGetBestIndex(ctx, pop) PGAContext *ctx int pop
Input parameters
ctx
|
- context variable |
|---|---|
pop
|
- symbolic constant of the population to find the best string in |
Output parameters
- none
Location
utility.c
Examples
Example: PGAContext *ctx; int best; : best = PGAGetBestIndex(ctx,PGA_OLDPOP);
Releases
Unchanged in 4 releases since Debian 5.0 (Lenny).