.TH PGASetMaxGAIterValue 8 "05/01/95" " " "PGAPack" .SH NAME PGASetMaxGAIterValue \- 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). .SH DESCRIPTION The default value is 1000 iterations. .SH INPUT PARAMETERS .PD 0 .TP ctx - context variable .PD 0 .TP maxiter - the maximum number of GA iterations to run before stopping .PD 1 .SH OUTPUT PARAMETERS .PD 0 .TP none .PD 1 .SH SYNOPSIS .nf #include "pgapack.h" void PGASetMaxGAIterValue(ctx, maxiter) PGAContext *ctx int maxiter .fi .SH LOCATION stop.c .SH EXAMPLE .nf Example: PGAContext *ctx; : PGASetMaxGAIterValue(ctx,5000); .fi