PGAGetNoDuplicatesFlag(3)

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.

  1. 1.1
  2. 1.2–3.1

From pgapack 1.0.0.1-3 in Debian 3.1 (Sarge). Parsed by carta from the page's man source.