Function PGABinaryPrint
Defined in File binary.c
Function Documentation
-
static void PGABinaryPrint(PGAContext *ctx, FILE *fp, PGABinary *chrom, int nb)
Write a bit string to a file.
Description
Puts the binary representation of the bit string pointed to by
chrom
into a character string and writes that out. Assumes the maximum length of string to print isWL
, and that all bits are in the same word.Internal function. Use
PGABinaryPrintString()
to print a binary string.- Parameters:
ctx – context variable
fp – file to write the bit string to
chrom – pointer to the bit string to write
nb – number of bits to write out
- Returns:
None