EnglishFrenchSpanish

OnWorks favicon

PGAGetFitnessType - Online in the Cloud

Run PGAGetFitnessType in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command PGAGetFitnessType that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


PGAGetFitnessType - Returns the type of fitness transformation used.

INPUT PARAMETERS


ctx - context variable

OUTPUT PARAMETERS


none

SYNOPSIS


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

LOCATION


fitness.c

EXAMPLE


Example:
PGAContext *ctx;
int fittype;
:
fittype = PGAGetFitnessType(ctx);
switch (fittype) {
case PGA_FITNESS_RAW:
printf("Fitness Type = PGA_FITNESS_RAW0);
break;
case PGA_FITNESS_NORMAL:
printf("Fitness Type = PGA_FITNESS_NORMAL0);
break;
case PGA_FITNESS_RANKING:
printf("Fitness Type = PGA_FITNESS_RANKING0);
break;
}

05/01/95 PGAGetFitnessType(1)

Use PGAGetFitnessType online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

Linux commands

Ad