PGASetCrossoverProb - Probability that a selected string will undergo crossover.
The default is 0.85.
ctx - context variable p - the crossover probability
none
#include "pgapack.h" void PGASetCrossoverProb(ctx, crossover_prob) PGAContext *ctx double crossover_prob
cross.c
Example: Make crossover happen infrequently. PGAContext *ctx; : PGASetCrossoverProb(ctx,0.001); 05/01/95 PGASetCrossoverProb(3)