PGASetUniformCrossoverProb
Probability used in uniform crossover to specify that an allele value value be selected from a particular parent.
- Provided by: pgapack (Version: 1.1.1-3)
- Report a bug
Probability used in uniform crossover to specify that an allele value value be selected from a particular parent.
The default is 0.6. The crossover type must have been set to PGA_CROSSOVER_UNIFORM with PGASetCrossoverType for this function call to have any effect.
#include "pgapack.h" void PGASetUniformCrossoverProb(ctx, uniform_cross_prob) PGAContext *ctx double uniform_cross_prob
cross.c
Example: PGAContext *ctx; : PGASetUniformCrossoverProb(ctx,0.9);