PGAGetBestIndex(3)

PGAGetBestIndex3

Returns the index of the string with the best evaluation function value in population pop

Part of PGAGetBestIndex(5).

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

8 releases since Debian 1.1 (Buzz); the text changed 1 time.

  1. 1.1
  2. 1.2–3.1

From pgapack 1.0.0.1-3 in Debian 3.1 (Sarge). Parsed by carta from the page's man source.