Query: pgasetptournamentprob
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
PGASetPTournamentProb(3) PGAPack PGASetPTournamentProb(3)NAMEPGASetPTournamentProb - Specifies the probability that the string that wins a binary tournament will be selected.DESCRIPTIONThis function will have no effect unless PGA_SELECT_PTOURNAMENT was specified as the type of selection to use with PGASetSelectType. The default value is 0.6.INPUT PARAMETERSctx - context variable p - the probability of selecting the better stringOUTPUT PARAMETERSnoneSYNOPSIS#include "pgapack.h" void PGASetPTournamentProb(ctx, ptournament_prob) PGAContext *ctx double ptournament_probLOCATIONselect.cEXAMPLEExample: PGAContext *ctx; : PGASetPTournamentProb(ctx,0.8); 05/01/95 PGASetPTournamentProb(3)