PGASetMaxNoChangeValue(3)

PGASetMaxNoChangeValue3

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 pgasetstoppingruletype for this function call to have any effect.

Usage

void PGASetMaxNoChangeValue(ctx, max_no_change)

PGAContext *ctx

int max_no_change

Input parameters

ctx

- context variable

maxiter

- the maximum number of GA iterations allowed with no change in the best evaluation function value.

Output parameters

none

Location

stop.c

Examples

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

Releases

8 releases since Debian 1.1 (Buzz); the text changed 1 time.

  1. 1.1
  2. 1.2–3.1

From pgapack 1.0.0.1-3 in Debian 3.1 (Sarge). Parsed by carta from the page's man source.