Poster of Linux kernelThe best gift for a Linux geek
PGAGetMutationOrCrossoverFlag

PGAGetMutationOrCrossoverFlag

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

NAME

PGAGetMutationOrCrossoverFlag - Returns true if mutation only occurs when crossover does not.  

INPUT PARAMETERS

ctx
- context variable
 

OUTPUT PARAMETERS

none

 

SYNOPSIS

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

LOCATION

pga.c  

EXAMPLE

Example:
PGAContext *ctx;
int mutatetype;
:
mutatetype = PGAGetMutationOrCrossoverFlag(ctx);
switch (mutatetype) {
case PGA_TRUE:
printf("Only mutating strings not undergoing crossover);
break;
case PGA_FALSE:
printf("Mutating strings only after crossover);
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