PGAChange(8)

NAME
PGAChange - Repeatedly applies mutation to a string (with am increasing mutation rate) until one or more mutations have occurred. This routine is usually used with PGADuplicate to modify a duplicate string. It is not intended to replace PGAMutation

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

OUTPUT PARAMETERS
none

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

LOCATION
duplicate.c

EXAMPLE
Example:
To change (via mutation) string b in population PGA_OLDPOP
(in place) use
PGAContext *ctx;
int b;
PGAChange(ctx, b, PGA_OLDPOP);