PGASetNumReplaceValue(8)

PGASetNumReplaceValue8

Specifies the number of new strings to create each generation.

Usage

void PGASetNumReplaceValue(ctx, pop_replace)

PGAContext *ctx

int pop_replace

Overview

The default is ten percent of the population size

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

Unchanged in 4 releases since Debian 5.0 (Lenny).

  1. 5.0–8

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