Poster of Linux kernelThe best gift for a Linux geek
PGASetUniformCrossoverProb

PGASetUniformCrossoverProb

Section: PGAPack (3) Updated: 05/01/95
Local index Up
 

NAME

PGASetUniformCrossoverProb - Probability used in uniform crossover to specify that an allele value value be selected from a particular parent.  

DESCRIPTION

The default is 0.6. The crossover type must have been set to PGA_CROSSOVER_UNIFORM with PGASetCrossoverType for this function call to have any effect.  

INPUT PARAMETERS

ctx
- context variable
p
- the crossover probability
 

OUTPUT PARAMETERS

none

 

SYNOPSIS

#include "pgapack.h"
void  PGASetUniformCrossoverProb(ctx, uniform_cross_prob)
PGAContext *ctx
double uniform_cross_prob
 

LOCATION

cross.c  

EXAMPLE

Example:
PGAContext *ctx;
:
PGASetUniformCrossoverProb(ctx,0.9);


 

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