PGACopyIndividual(8)

PGACopyIndividual8

Copies string p1 in population pop1 to position p2 in population pop2

Usage

void PGACopyIndividual(ctx, p1, pop1, p2, pop2)

PGAContext *ctx

int p1

int pop1

int p2

int pop2

Input parameters

ctx

- context variable

p1

- string to copy

pop1

- symbolic constant of population containing string p1

p2

- string to copy p1 to

pop2

- symbolic constant of population containing string p2

Output parameters

none

Location

utility.c

Examples

Example:
PGAContext *ctx;
int i,j;
:
PGACopyIndividual(ctx, i, PGA_OLDPOP, j, 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.