PGASetMutationProb(6)

NAME
PGASetMutationProb - Specifies the probability that a given gene will be mutated. May interact with PGASetMutationType. The default is the reciprocal of the string length

INPUT PARAMETERS
ctx - context variable
p   - the mutation probability

OUTPUT PARAMETERS
none

SYNOPSIS
#include "pgapack.h"
void  PGASetMutationProb(ctx, mutation_prob)
PGAContext *ctx
double mutation_prob

LOCATION
set.c

EXAMPLE
Example:
PGAContext *ctx;
:
PGASetMutationProb(ctx,0.001);