.TH PGAGetNoDuplicatesFlag 8 "05/01/95" " " "PGAPack" .SH NAME PGAGetNoDuplicatesFlag \- Returns PGA_TRUE if duplicates are not allowed, else returns PGA_FALSE. .SH INPUT PARAMETERS .PD 0 .TP ctx - context variable .PD 1 .SH OUTPUT PARAMETERS .PD 0 .TP none .PD 1 .SH SYNOPSIS .nf #include "pgapack.h" int PGAGetNoDuplicatesFlag(ctx) PGAContext *ctx .fi .SH LOCATION duplcate.c .SH EXAMPLE .nf Example: PGAContext *ctx; int nodups; : nodups = PGAGetNoDuplicatesFlag(ctx); switch (nodups) { case PGA_TRUE: printf("Duplicate strings not allowed in population\n"); break; case PGA_FALSE: printf("Duplicate strings allowed in population\n"); break; } .fi