PGASetNoDuplicatesFlag8
A boolean flag to indicate if duplicate strings are allowed in the population.
Usage
void PGASetNoDuplicatesFlag(ctx,
no_dup)
PGAContext *ctx
int no_dup
Overview
Valid choices are PGA_TRUE and PGA_FALSE. The default is PGA_FALSE -- allow duplicates.
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
Unchanged in 4 releases since Debian 5.0 (Lenny).