Function PGAUpdateOffline
Defined in File utility.c
Function Documentation
-
void PGAUpdateOffline(PGAContext *ctx, int pop)
Update the offline value based on the results in the new generation.
Description
Note that in the presence of constraints only the unconstrained best function evaluations are averaged, except for the constraint-functions, these are averaged unconditionally.
Example
PGAContext *ctx; ... PGAUpdateOffline (ctx, PGA_NEWPOP);
- Parameters:
ctx – context variable
pop – symbolic constant of the population whose statistics to use
- Returns:
Updates an internal field in the context variable