PGAGetNoDuplicatesFlag3
Returns pga_true if duplicates are not allowed, else returns pga_false.
Part of PGAGetNoDuplicatesFlag(8).
Usage
int PGAGetNoDuplicatesFlag(ctx)
PGAContext *ctx
Input parameters
- ctx
-
- context variable
Output parameters
- none
Location
duplcate.c
Examples
Example:
PGAContext *ctx;
int nodups;
:
nodups = PGAGetNoDuplicatesFlag(ctx);
switch (nodups) {
case PGA_TRUE:
printf("Duplicate strings not allowed in population0);
break;
case PGA_FALSE:
printf("Duplicate strings allowed in population0);
break;
}
Releases
8 releases since Debian 1.1 (Buzz); the text changed 1 time.