PGAGetOptDirFlag
PGAGetOptDirFlag
Section: PGAPack (8) Updated: 05/01/95 Local index
Up
NAME
PGAGetOptDirFlag - Returns a symbolic constant that represents the
direction of optimization
INPUT PARAMETERS
- ctx
-
- context variable
OUTPUT PARAMETERS
- none
-
SYNOPSIS
#include "pgapack.h"
int PGAGetOptDirFlag(ctx)
PGAContext *ctx
LOCATION
pga.c
EXAMPLE
Example:
PGAContext *ctx;
int optdir;
:
optdir = PGAGetOptDirFlag(ctx);
switch (optdir) {
case PGA_MAXIMIZE:
printf("Optimization direction = PGA_MAXIMIZE);
break;
case PGA_MINIMIZE:
printf("Optimization direction = PGA_MINIMIZE);
break;
}
Index
- NAME
-
- INPUT PARAMETERS
-
- OUTPUT PARAMETERS
-
- SYNOPSIS
-
- LOCATION
-
- EXAMPLE
-
This document was created by
man2html,
using the manual pages.
Time: 22:02:08 GMT, April 16, 2011