PGASetMutateOnlyNoCross(8)

NAME
PGASetMutateOnlyNoCross - A boolean flag to indicate if recombination uses crossover OR mutation on selected strings (the default), or crossover AND mutation.

INPUT PARAMETERS
ctx - context variable
flag
    - PGATRUE (default) or PGAFALSE

OUTPUT PARAMETERS
none

SYNOPSIS
#include "pgapack.h"
void  PGASetMutateOnlyNoCross(ctx, mutate_only_no_cross)
PGAContext *ctx
int mutate_only_no_cross

LOCATION
set.c

EXAMPLE
Example:
To use crossover AND mutation for recombination use
PGAContext *ctx;
:
PGASetMutateOnlyNoCross(ctx,PGAFALSE);