Poster of Linux kernelThe best gift for a Linux geek
PGAGetCrossoverType

PGAGetCrossoverType

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

NAME

PGAGetCrossoverType - Returns the type of crossover selected  

INPUT PARAMETERS

ctx
- context variable
 

OUTPUT PARAMETERS

none

 

SYNOPSIS

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

LOCATION

cross.c  

EXAMPLE

Example:
PGAContext *ctx;
int crosstype;
:
crosstype = PGAGetCrossoverType(ctx);
switch (crosstype) {
case PGA_CROSSOVER_ONEPT:
printf("Crossover Type = PGA_CROSSOVER_ONEPT);
break;
case PGA_CROSSOVER_TWOPT:
printf("Crossover Type = PGA_CROSSOVER_TWOPT);
break;
case PGA_CROSSOVER_UNIFORM:
printf("Crossover Type = PGA_CROSSOVER_UNIFORM);
break;
}


 

Index

NAME
INPUT PARAMETERS
OUTPUT PARAMETERS
SYNOPSIS
LOCATION
EXAMPLE

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