.TH PGASetNoDuplicatesFlag 8 "05/01/95" " " "PGAPack" .SH NAME PGASetNoDuplicatesFlag \- A boolean flag to indicate if duplicate strings are allowed in the population. .SH DESCRIPTION Valid choices are PGA_TRUE and PGA_FALSE. The default is PGA_FALSE -- allow duplicates. .SH INPUT PARAMETERS .PD 0 .TP ctx - context variable .PD 0 .TP flag - PGA_TRUE or PGA_FALSE .PD 1 .SH OUTPUT PARAMETERS .PD 0 .TP none .PD 1 .SH SYNOPSIS .nf #include "pgapack.h" void PGASetNoDuplicatesFlag(ctx, no_dup) PGAContext *ctx int no_dup .fi .SH LOCATION duplcate.c .SH EXAMPLE .nf Example: Set the NoDuplicates flag to require that all strings are unique. PGAContext *ctx; : PGASetNoDuplicatesFlag(ctx,PGA_TRUE); .fi