PGASetPopSize(3)

PGASetPopSize3

Specifies the size of the genetic algorithm population. the default population size is 100.

Usage

void PGASetPopSize(ctx, popsize)

PGAContext *ctx

int popsize

Input parameters

ctx

- context variable

popsize

- the genetic algorithm population size to use

Output parameters

none

Location

pop.c

Examples

Example:
PGAContext *ctx;
:
PGASetPopSize(ctx, 200);

Releases

8 releases since Debian 1.1 (Buzz); the text changed 1 time.

  1. 1.1
  2. 1.2–3.1

From pgapack 1.0.0.1-3 in Debian 3.1 (Sarge). Parsed by carta from the page's man source.