INPUT PARAMETERS
- ctx
- - context variable
OUTPUT PARAMETERS
- none
-
SYNOPSIS
#include "pgapack.h"
int PGAGetNoDuplicatesFlag(ctx)
PGAContext *ctx
LOCATION
duplcate.cEXAMPLE
Example:
PGAContext *ctx;
int nodups;
:
nodups = PGAGetNoDuplicatesFlag(ctx);
switch (nodups) {
case PGA_TRUE:
printf("Duplicate strings not allowed in population);
break;
case PGA_FALSE:
printf("Duplicate strings allowed in population);
break;
}