PGASetNoDuplicatesFlag(3)

PGASetNoDuplicatesFlag3

A boolean flag to indicate if duplicate strings are allowed in the population. valid choices are pga_true and pga_false. the default is pga_false -- allow duplicates.

Usage

void PGASetNoDuplicatesFlag(ctx, no_dup)

PGAContext *ctx

int no_dup

Input parameters

ctx

- context variable

flag

- PGA_TRUE or PGA_FALSE

Output parameters

none

Location

duplcate.c

Examples

Example:
Set the NoDuplicates flag to require that all strings are unique.
PGAContext *ctx;
:
PGASetNoDuplicatesFlag(ctx,PGA_TRUE);

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.