packing single and dual bit values
Definition in file bitencode.c.
Go to the source code of this file.
Functions | |
void | SCIPencodeSingleBit (const int *inp, SCIP_SINGLEPACKET *out, int count) |
void | SCIPdecodeSingleBit (const SCIP_SINGLEPACKET *inp, int *out, int count) |
void | SCIPencodeDualBit (const int *inp, SCIP_DUALPACKET *out, int count) |
void | SCIPdecodeDualBit (const SCIP_DUALPACKET *inp, int *out, int count) |
void SCIPencodeSingleBit | ( | const int * | inp, |
SCIP_SINGLEPACKET * | out, | ||
int | count | ||
) |
encode a single bit vector into packed format
inp | unpacked input vector |
out | buffer to store the packed vector |
count | number of elements |
Definition at line 31 of file bitencode.c.
References NULL, and SCIP_SINGLEPACKETSIZE.
void SCIPdecodeSingleBit | ( | const SCIP_SINGLEPACKET * | inp, |
int * | out, | ||
int | count | ||
) |
decode a packed single bit vector into unpacked format
inp | packed input vector |
out | buffer to store unpacked vector |
count | number of elements |
Definition at line 121 of file bitencode.c.
References NULL, and SCIP_SINGLEPACKETSIZE.
void SCIPencodeDualBit | ( | const int * | inp, |
SCIP_DUALPACKET * | out, | ||
int | count | ||
) |
encode a dual bit vector into packed format
inp | unpacked input vector |
out | buffer to store the packed vector |
count | number of elements |
Definition at line 228 of file bitencode.c.
References NULL, and SCIP_DUALPACKETSIZE.
Referenced by lpistatePack().
void SCIPdecodeDualBit | ( | const SCIP_DUALPACKET * | inp, |
int * | out, | ||
int | count | ||
) |
decode a packed dual bit vector into unpacked format
inp | packed input vector |
out | buffer to store unpacked vector |
count | number of elements |
Definition at line 298 of file bitencode.c.
References NULL, and SCIP_DUALPACKETSIZE.
Referenced by lpistateUnpack().