Rechercher une page de manuel
PGASetCrossoverProb
Langue: en
Version: 271737 (debian - 07/07/09)
Section: 3 (Bibliothèques de fonctions)
NAME
PGASetCrossoverProb - Probability that a selected string will undergo crossover.DESCRIPTION
The default is 0.85.INPUT PARAMETERS
- ctx
- - context variable
- p
- - the crossover probability
OUTPUT PARAMETERS
- none
SYNOPSIS
#include "pgapack.h" void PGASetCrossoverProb(ctx, crossover_prob) PGAContext *ctx double crossover_prob
LOCATION
cross.cEXAMPLE
Example: Make crossover happen infrequently. PGAContext *ctx; : PGASetCrossoverProb(ctx,0.001);
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre