PGASetMaxNoChange(8)

NAME
PGASetMaxNoChange - specifiy maximum number of iterations of no change in the evaluation function value of the best string before stopping. The default value is 50. The stopping rule PGA_STOP_NOCHANGE must have been set by PGASetStoppingRule for this function call to have any effect.

INPUT PARAMETERS
ctx - context variable
maxiter
    - the maximum number of GA iterations to run before stopping

OUTPUT PARAMETERS
none

SYNOPSIS
#include "pgapack.h"
void  PGASetMaxNoChange(ctx, max_no_change)
PGAContext *ctx
int max_no_change

LOCATION
set.c

EXAMPLE
Example:
PGAContext *ctx;
:
PGASetMaxIter(ctx,5000);