Poster of Linux kernelThe best gift for a Linux geek
PGASelect

PGASelect

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

NAME

PGASelect - performs genetic algorithm selection using either the default selection scheme or that specified with PGASetSelectType().  

DESCRIPTION

Valid selection methods are proportional, stochastic universal, tournament, or probabilistic tournament selection, PGA_SELECT_PROPORTIONAL, PGA_SELECT_SUS, PGA_SELECT_TOURNAMENT, and PGA_SELECT_PTOURNAMENT, respectively. This function updates an internal array with the indices of members of popix selected for recombination. These indices may be accessed with PGASelectNextIndex()  

INPUT PARAMETERS

ctx
- context variable
popix
- symbolic constant of population to select from
 

OUTPUT PARAMETERS

none

 

SYNOPSIS

#include "pgapack.h"
void  PGASelect(ctx, popix)
PGAContext *ctx
int popix
 

LOCATION

select.c  

EXAMPLE

Example:
PGAContext *ctx,
:
PGASelect(ctx, PGA_OLDPOP);


 

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