PGASetCrossoverProb
PGASetCrossoverProb
Section: PGAPack (3) Updated: 05/01/95 Local index
Up
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.c
EXAMPLE
Example:
Make crossover happen infrequently.
PGAContext *ctx;
:
PGASetCrossoverProb(ctx,0.001);
Index
- NAME
-
- DESCRIPTION
-
- INPUT PARAMETERS
-
- OUTPUT PARAMETERS
-
- SYNOPSIS
-
- LOCATION
-
- EXAMPLE
-
This document was created by
man2html,
using the manual pages.
Time: 21:52:26 GMT, April 16, 2011