PGASetStoppingRuleType(3)

PGASetStoppingRuleType3

Specify a stopping criterion. if called more than once the different stopping criterion are ored together. valid choices are pga_stop_maxiter, pga_stop_toosimilar, or pga_stop_nochange to specify iteration limit reached, population too similar, or no change in the best solution found in a given number of iterations, respectively. the default is to stop when a maximum iteration limit is reached (by default, 1000 iterations).

Usage

void PGASetStoppingRuleType(ctx, stoprule)

PGAContext *ctx

int stoprule

Input parameters

ctx

- context variable

stoprule

- symbolic constant to specify stopping rule

Output parameters

none

Location

stop.c

Examples

Example:
PGAContext *ctx;
:
PGASetStoppingRuleType(ctx, PGA_STOP_TOOSIMILAR);

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.