Poster of Linux kernelThe best gift for a Linux geek
PGAGetFitnessMinType

PGAGetFitnessMinType

Section: PGAPack (1) Updated: 05/01/95
Local index Up
 

NAME

PGAGetFitnessMinType - Returns the type of fitness transformation used for minimization problems.  

INPUT PARAMETERS

ctx
- context variable
 

OUTPUT PARAMETERS

none

 

SYNOPSIS

#include "pgapack.h"
int  PGAGetFitnessMinType(ctx)
PGAContext *ctx
 

LOCATION

fitness.c  

EXAMPLE

for minimization problems

Example:
PGAContext *ctx;
int fitmintype;
:
fitmintype = PGAGetFitnessMinType(ctx);
switch (fitmintype) {
case PGA_FITNESSMIN_RECIPROCAL:
printf("Fitness Minimization Type = PGA_FITNESSMIN_RECIPROCAL);
break;
case PGA_FITNESSMIN_CMAX:
printf("Fitness Minimization Type = PGA_FITNESSMIN_CMAX);
break;
}


 

Index

NAME
INPUT PARAMETERS
OUTPUT PARAMETERS
SYNOPSIS
LOCATION
EXAMPLE

This document was created by man2html, using the manual pages.
Time: 21:24:46 GMT, April 16, 2011