Returns true/false to indicate whether or not alleles are randomly initialized.
ctx
- context variable
none
#include "pgapack.h" int PGAGetRandomInitFlag(ctx) PGAContext *ctx
create.c
Example: PGAContext *ctx; int raninit; : raninit = PGAGetRandomInitFlag(ctx); switch (raninit) { case PGA_TRUE: printf("Population is randomly initialized\n"); break; case PGA_FALSE: printf("Population initialized to zero\n"); break; }