Function PGAGetRandomInitFlag
Defined in File create.c
Function Documentation
-
int PGAGetRandomInitFlag(PGAContext *ctx)
Return true/false to indicate whether or not alleles are randomly initialized.
Example
PGAContext *ctx; ... if (PGAGetRandomInitFlag (ctx)) { printf ("Population is randomly initialized\n"); } else { printf ("Population initialized to zero\n"); }
- Parameters:
ctx – context variable
- Returns:
Return true if alleles are randomly initialized