Function PGAGetUniformCrossoverProb

Function Documentation

double PGAGetUniformCrossoverProb(PGAContext *ctx)

Return the probability of an allele being selected from the first child string in uniform crossover.

Example

PGAContext *ctx;
double pu;

...
pu = PGAGetUniformCrossoverProb (ctx);

Parameters
  • ctx – context variable

Returns

The uniform crossover probability