Function PGAGetIndividual
Defined in File utility.c
Function Documentation
-
PGAIndividual *PGAGetIndividual(PGAContext *ctx, int p, int pop)
Return individual defined by population symbolic constant and population index.
Example
PGAIndividual *source; PGAContext *ctx; int p; ... source = PGAGetIndividual (ctx, p, PGA_NEWPOP);
- Parameters:
ctx – context variable
p – string index
pop – symbolic constant of the population the string is in
- Returns:
Address of the PGAIndividual structure for string p in population pop