PGASetMaxGAIterValue(8) specify the maximum number of iterations for the

DESCRIPTION

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

SYNOPSIS


#include "pgapack.h"
void PGASetMaxGAIterValue(ctx, maxiter)
PGAContext *ctx
int maxiter

LOCATION

stop.c

EXAMPLE

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