Query: pgasetcrossoverprob
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
PGASetCrossoverProb(3) PGAPack PGASetCrossoverProb(3)NAMEPGASetCrossoverProb - Probability that a selected string will undergo crossover.DESCRIPTIONThe default is 0.85.INPUT PARAMETERSctx - context variable p - the crossover probabilityOUTPUT PARAMETERSnoneSYNOPSIS#include "pgapack.h" void PGASetCrossoverProb(ctx, crossover_prob) PGAContext *ctx double crossover_probLOCATIONcross.cEXAMPLEExample: Make crossover happen infrequently. PGAContext *ctx; : PGASetCrossoverProb(ctx,0.001); 05/01/95 PGASetCrossoverProb(3)