Specify the type of selection to use.
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.
ctx
- context variable
select_type
- symbolic constant to specify selection type
none
#include "pgapack.h" void PGASetSelectType(ctx, select_type) PGAContext *ctx int select_type
select.c
Example: PGAContext *ctx; : PGASetSelectType(ctx, PGA_SELECT_SUS);