PGASetRandomInitFlag2
A boolean flag to indicate whether to randomly initialize alleles.
Usage
#include "pgapack.h" void PGASetRandomInitFlag(ctx, RandomBoolean) PGAContext *ctx int RandomBoolean
Overview
Legal values are PGA_TRUE and PGA_FALSE. Default is PGA_TRUE -- randomly initialize alleles.
Input parameters
ctx
|
- context variable |
|---|---|
flag
|
- either PGA_TRUE or PGA_FALSE |
Output parameters
- none
Location
create.c
Examples
Example: Set the initialization routine to initialize all alleles to zero PGAContext *ctx; : PGASetRandomInitFlag(ctx,PGA_FALSE);
Releases
Unchanged in 4 releases since Debian 5.0 (Lenny).