Query: pgasetstoppingruletype
OS: debian
Section: 8
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
PGASetStoppingRuleType(8) PGAPack PGASetStoppingRuleType(8)NAMEPGASetStoppingRuleType - specify a stopping criterion.DESCRIPTIONIf 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).INPUT PARAMETERSctx - context variable stoprule - symbolic constant to specify stopping ruleOUTPUT PARAMETERSnoneSYNOPSIS#include "pgapack.h" void PGASetStoppingRuleType(ctx, stoprule) PGAContext *ctx int stopruleLOCATIONstop.cEXAMPLEExample: PGAContext *ctx; : PGASetStoppingRuleType(ctx, PGA_STOP_TOOSIMILAR); 05/01/95 PGASetStoppingRuleType(8)