Function PGAIntegerPrintString

Function Documentation

void PGAIntegerPrintString(PGAContext *ctx, FILE *fp, int p, int pop)

Write an integer-valued string to a file.

Example

Write member p in population PGA_NEWPOP to stdout.

PGAContext *ctx;
int  p;

...
PGAIntegerPrintString (ctx, stdout, p, PGA_NEWPOP);

Parameters
  • ctx – context variable

  • fp – file pointer to file to write the string to

  • p – index of the string to write out

  • pop – symbolic constant of the population string p is in

Returns

None