PGAGetNoDuplicatesFlag(8)

PGAGetNoDuplicatesFlag8

Returns pga_true if duplicates are not allowed, else returns pga_false.

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

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.