PGAGetRandomInitFlag3
Returns true/false to indicate whether or not alleles are randomly initialized.
Part of PGAGetRandomInitFlag(2).
Usage
#include "pgapack.h" int PGAGetRandomInitFlag(ctx) PGAContext *ctx
Input parameters
- ctx
-
- context variable
Output parameters
- none
Location
create.c
Examples
Example:
PGAContext *ctx;
int raninit;
:
raninit = PGAGetRandomInitFlag(ctx);
switch (raninit) {
case PGA_TRUE:
printf("Population is randomly initialized0);
break;
case PGA_FALSE:
printf("Population initialized to zero0);
break;
}
Releases
8 releases since Debian 1.1 (Buzz); the text changed 1 time.