Query: pgasetuniformcrossoverprob
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
PGASetUniformCrossoverProb(3) PGAPack PGASetUniformCrossoverProb(3)NAMEPGASetUniformCrossoverProb - Probability used in uniform crossover to specify that an allele value value be selected from a particular par- ent.DESCRIPTIONThe 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.INPUT PARAMETERSctx - context variable p - the crossover probabilityOUTPUT PARAMETERSnoneSYNOPSIS#include "pgapack.h" void PGASetUniformCrossoverProb(ctx, uniform_cross_prob) PGAContext *ctx double uniform_cross_probLOCATIONcross.cEXAMPLEExample: PGAContext *ctx; : PGASetUniformCrossoverProb(ctx,0.9); 05/01/95 PGASetUniformCrossoverProb(3)