.TH PGAGetMutationAndCrossoverFlag 8 "05/01/95" " " "PGAPack" .SH NAME PGAGetMutationAndCrossoverFlag \- Returns true if mutation occurs only when crossover does. .SH INPUT PARAMETERS .PD 0 .TP ctx - context variable .PD 1 .SH OUTPUT PARAMETERS .PD 0 .TP crossed -over strings. Otherwise, returns PGA_FALSE .PD 1 .SH SYNOPSIS .nf #include "pgapack.h" int PGAGetMutationAndCrossoverFlag(ctx) PGAContext *ctx .fi .SH LOCATION pga.c .SH EXAMPLE .nf PGAContext *ctx; int mutatetype; : mutatetype = PGAGetMutationAndCrossoverFlag(ctx); switch (mutatetype) { case PGA_TRUE: printf("Mutating strings only after crossover\n"); break; case PGA_FALSE: printf("Only mutating strings not undergoing crossover\n"); break; } .fi