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