Man Linux: Main Page and Category List

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 crossover0);
       break;
       case PGA_FALSE:
       printf("Mutating strings only after crossover0);
       break;
       }

                                   05/01/95   PGAGetMutationOrCrossoverFlag(8)