carta
PGASetSelectType(3)

PGASetSelectType3

Specify the type of selection to use.

Usage

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);

History

  • Debian 8 (Jessie) to Debian 5.0 (Lenny): the text shown here
  • Debian 3.1 (Sarge) to Debian 1.1 (Buzz)

From pgapack 1.1.1-3 in Debian 8 (Jessie). Parsed by carta from the page's man source.