PGARunMutationOrCrossover(8)

PGARunMutationOrCrossover8

Performs crossover or mutation (but not both) from one populationto create the next.

Usage

PGAContext *ctx

int oldpop

int newpop

Overview

Assumes PGASelect has been called.

Input parameters

ctx

- context variable

oldpop

- symbolic constant of old population

newpop

- symbolic constant of new population

Output parameters

side

-effect.

Location

pga.c

Examples

PGAContext *ctx,
:
PGARunMutationOrCrossover(ctx, PGA_OLDPOP, PGA_NEWPOP);

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.