PGASetSelectType3
Specify the type of selection to use.
Usage
#include "pgapack.h" void PGASetSelectType(ctx, select_type) PGAContext *ctx int select_type
Overview
Valid choices are PGA_SELECT_PROPORTIONAL, PGA_SELECT_SUS, PGA_SELECT_TOURNAMENT, and PGA_SELECT_PTOURNAMENT for proportional, stochastic universal selection, tournament, and probabilistic tournament selection, respectively. The default is PGA_SELECT_TOURNAMENT.
Input parameters
ctx
|
- context variable |
|---|---|
select_type
|
- symbolic constant to specify selection type |
Output parameters
- none
Location
select.c
Examples
Example: PGAContext *ctx; : PGASetSelectType(ctx, PGA_SELECT_SUS);
Releases
12 releases since Debian 1.1 (Buzz); the text changed 1 time.