table of contents
other versions
- jessie 1.1.1-3
| PGAGetRandomInitFlag(2) | PGAPack | PGAGetRandomInitFlag(2) |
NAME¶
PGAGetRandomInitFlag - returns true/false to indicate whether or not alleles are randomly initialized.INPUT PARAMETERS¶
- ctx
- - context variable
OUTPUT PARAMETERS¶
- none
SYNOPSIS¶
#include "pgapack.h" int PGAGetRandomInitFlag(ctx) PGAContext *ctx
LOCATION¶
create.cEXAMPLE¶
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;
}
| 05/01/95 |