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.