PGASetMaxGAIterValue(8)

PGASetMaxGAIterValue8

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).

Usage

void PGASetMaxGAIterValue(ctx, maxiter)

PGAContext *ctx

int maxiter

Overview

The default value is 1000 iterations.

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

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.