Function PGABinaryPrintString

Function Documentation

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

Write a bit string to a file.

Example

Write string s to stdout.

PGAContext *ctx;
int s;

...
PGABinaryPrintString (ctx, stdout, s, PGA_NEWPOP);

Parameters
  • ctx – context variable

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

  • p – index of the string to write out

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

Returns

None