PGASetNumReplaceValue(3)

PGASetNumReplaceValue3

Specifies the number of new strings to create each generation. the default is ten percent of the population size

Usage

void PGASetNumReplaceValue(ctx, pop_replace)

PGAContext *ctx

int pop_replace

Input parameters

ctx

- context variable

pop_replace

- the genetic algorithm population size to use

Output parameters

none

Location

pop.c

Examples

Example:
PGAContext *ctx;
:
PGASetNumReplaceValue(ctx, 35);

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.