PGASetMaxGAIterValue(3)

PGASetMaxGAIterValue3

Specify the maximum number of iterations for the stopping rule pga_stop_maxiter (which, by itself, is the default stopping rule and is always in effect). the default value is 1000 iterations.

Usage

void PGASetMaxGAIterValue(ctx, maxiter)

PGAContext *ctx

int maxiter

Input parameters

ctx

- context variable

maxiter

- the maximum number of GA iterations to run before stopping

Output parameters

none

Location

stop.c

Examples

Example:
PGAContext *ctx;
:
PGASetMaxGAIterValue(ctx,5000);

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.