PGAGetWorstIndex(5)

PGAGetWorstIndex5

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

Usage

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

Input parameters

ctx

- context variable

pop

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

Output parameters

none

Location

utility.c

Examples

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

Releases

Unchanged in 4 releases since Debian 5.0 (Lenny).

  1. 5.0–8

From pgapack 1.1.1-3 in Debian 8 (Jessie). Parsed by carta from the page's man source.