PGAMutate(6)

NAME
PGAMutate - This routine performs mutation on a string. The type of mutation depends on the data type. Refer to the user guide for data-specific examples.

INPUT PARAMETERS
ctx - context variable
p   - index of string to mutate
pop - symbolic constant of the population containing p

OUTPUT PARAMETERS
none

SYNOPSIS
#include "pgapack.h"
int  PGAMutate(ctx, p, pop)
PGAContext *ctx
int p
int pop

LOCATION
mutation.c

EXAMPLE
Example:
This example mutates string p in the new population.
PGAContext *ctx;
int p;
:
PGAMutate( ctx, p, PGA_NEWPOP);