PGASetRandomInitFlag3
A boolean flag to indicate whether to randomly initialize alleles. legal values are pga_true and pga_false. default is pga_true -- randomly initialize alleles.
Usage
#include "pgapack.h" void PGASetRandomInitFlag(ctx, RandomBoolean) PGAContext *ctx int RandomBoolean
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
8 releases since Debian 1.1 (Buzz); the text changed 1 time.