PGAGetStoppingRuleType(3)

PGAGetStoppingRuleType3

Returns a symbolic constant that defines the termination criteria.

Part of PGAGetStoppingRuleType(8).

Usage

int PGAGetStoppingRuleType(ctx)

PGAContext *ctx

Input parameters

ctx

- context variable

Output parameters

none

Location

stop.c

Examples

Example:
PGAContext *ctx;
int stop;
:
stop = PGAGetStoppingRuleType(ctx);
if (stop & PGA_STOP_MAXITER)
printf("Stopping Rule = PGA_STOP_MAXITER0);
if (stop & PGA_STOP_NOCHANGE)
printf("Stopping Rule = PGA_STOP_NOCHANGE0);
if (stop & PGA_STOP_TOOSIMILAR)
printf("Stopping Rule = PGA_STOP_TOOSIMILAR0);

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.