PGASetPopReplacement(8)

NAME
PGASetPopReplacement - Choose method of sorting strings to copy from old population to new population

INPUT PARAMETERS
none

OUTPUT PARAMETERS
none

SYNOPSIS
#include "pgapack.h"
void  PGASetPopReplacement(ctx, pop_replace)
PGAContext *ctx
int pop_replace

LOCATION
set.c

EXAMPLE
The default is PGA_POPREPL_BEST.
Inputs:
ctx         - context variable
pop_replace - symbolic constant to specify the population replacement
strategy
Outputs:
None
Example:
PGAContext *ctx;
:
PGASetPopReplacement(ctx, PGA_POPREPL_RANDOM_NOREP);