PGAGetPopReplace(8)

NAME
PGAGetPopReplace - returns the method used to choosing strings from the old population to copy to the new population

INPUT PARAMETERS
ctx - context variable

OUTPUT PARAMETERS
none

SYNOPSIS
#include "pgapack.h"
int  PGAGetPopReplace(ctx)
PGAContext *ctx

LOCATION
get.c

EXAMPLE
Example:
PGAContext *ctx;
int popreplace;
:
popreplace = PGAGetPopReplace(ctx);
switch (popreplace) {
case PGA_POPREPL_BEST:
printf("Data Type = PGA_POPREPL_BEST);
break;
case PGA_POPREPL_RANDOM_REP:
printf("Data Type = PGA_POPREPL_RANDOM_REP);
break;
case PGA_POPREPL_RANDOM_NOREP:
printf("Data Type = PGA_POPREPL_RANDOM_NOREP);
break;
}