PGASetNoDuplicatesFlag
PGASetNoDuplicatesFlag
Section: PGAPack (8) Updated: 05/01/95 Local index
Up
NAME
PGASetNoDuplicatesFlag - A boolean flag to indicate if duplicate strings are
allowed in the population.
DESCRIPTION
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
-
SYNOPSIS
#include "pgapack.h"
void PGASetNoDuplicatesFlag(ctx, no_dup)
PGAContext *ctx
int no_dup
LOCATION
duplcate.c
EXAMPLE
Example:
Set the NoDuplicates flag to require that all strings are unique.
PGAContext *ctx;
:
PGASetNoDuplicatesFlag(ctx,PGA_TRUE);
Index
- NAME
-
- DESCRIPTION
-
- INPUT PARAMETERS
-
- OUTPUT PARAMETERS
-
- SYNOPSIS
-
- LOCATION
-
- EXAMPLE
-
This document was created by
man2html,
using the manual pages.
Time: 22:02:09 GMT, April 16, 2011