Rechercher une page de manuel
PGAGetOptDirFlag
Langue: en
Version: 305548 (debian - 07/07/09)
Section: 8 (Commandes administrateur)
NAME
PGAGetOptDirFlag - Returns a symbolic constant that represents the direction of optimizationINPUT PARAMETERS
- ctx
- - context variable
OUTPUT PARAMETERS
- none
SYNOPSIS
#include "pgapack.h" int PGAGetOptDirFlag(ctx) PGAContext *ctx
LOCATION
pga.cEXAMPLE
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; }
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre