Rechercher une page de manuel
PGASetMutationProb
Langue: en
Version: 270953 (debian - 07/07/09)
Section: 3 (Bibliothèques de fonctions)
NAME
PGASetMutationProb - Specifies the probability that a given allele will be mutated.DESCRIPTION
If this is called without calling PGASetMutationType(), the default mutation type is PGA_MUTATION_FIXED. The default probability is the reciprocal of the string length.INPUT PARAMETERS
- ctx
- - context variable
- p
- - the mutation probability
OUTPUT PARAMETERS
- none
SYNOPSIS
#include "pgapack.h" void PGASetMutationProb(ctx, mutation_prob) PGAContext *ctx double mutation_prob
LOCATION
mutation.cEXAMPLE
Example: PGAContext *ctx; : PGASetMutationProb(ctx,0.001);
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre