Function PGAGetRestartAlleleChangeProb

Function Documentation

double PGAGetRestartAlleleChangeProb(PGAContext *ctx)

Return the probability with which an allele will be mutated during a restart.

Example

PGAContext *ctx;
double prob;

...
prob = PGAGetRestartAlleleChangeProb (ctx);

Parameters
  • ctx – context variable

Returns

The probability of mutating an allele during a restart