PGAGetOptDirFlag(3)

PGAGetOptDirFlag3

Returns a symbolic constant that represents the direction of optimization

Part of PGAGetOptDirFlag(8).

Usage

int PGAGetOptDirFlag(ctx)

PGAContext *ctx

Input parameters

ctx

- context variable

Output parameters

none

Location

pga.c

Examples

Example:
PGAContext *ctx;
int optdir;
:
optdir = PGAGetOptDirFlag(ctx);
switch (optdir) {
case PGA_MAXIMIZE:
printf("Optimization direction = PGA_MAXIMIZE0);
break;
case PGA_MINIMIZE:
printf("Optimization direction = PGA_MINIMIZE0);
break;
}

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.