PGASetPopSize

Langue: en

Version: 305019 (debian - 07/07/09)

Section: 8 (Commandes administrateur)

NAME

PGASetPopSize - Specifies the size of the genetic algorithm population.

DESCRIPTION

The default population size is 100.

INPUT PARAMETERS

ctx
- context variable
popsize
- the genetic algorithm population size to use

OUTPUT PARAMETERS

none

SYNOPSIS

 #include "pgapack.h"
 void  PGASetPopSize(ctx, popsize)
 PGAContext *ctx
 int popsize
 

LOCATION

pop.c

EXAMPLE

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