PGASetMutationOrCrossoverFlag(8) A boolean flag to indicate if recombination

INPUT PARAMETERS

ctx
- context variable
flag
- PGA_TRUE (default) or PGA_FALSE

OUTPUT PARAMETERS

none

SYNOPSIS


#include "pgapack.h"
void PGASetMutationOrCrossoverFlag(ctx, flag)
PGAContext *ctx
int flag

LOCATION

pga.c

EXAMPLE

Example:
Set the genetic algorithm to use mutation only when crossover is
not used.
PGAContext *ctx;
:
PGASetMutationOrCrossoverFlag(ctx,PGA_FALSE);