Man Linux: Main Page and Category List

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

                                   05/01/95                   PGASetPopSize(8)