Function PGASetUp
Defined in File create.c
Function Documentation
-
void PGASetUp(PGAContext *ctx)
Set all uninitialized variables to default values and initialize some internal arrays.
Description
Must be called after
PGACreate()
and before the GA is started.Example
PGAContext *ctx; PGACreate (ctx, ...); // Set options here PGASetUp (ctx);
- Parameters:
ctx – context variable
- Returns:
Uninitialized values in the context variable are set to defaults, and set values are checked for legality