|
Functions |
static int32_t * | mingraph_encode (const raw_t *dbm, cindex_t dim, const uint32_t *bitMatrix, size_t cnt, BOOL constraints16, allocator_t c_alloc, size_t offset) |
| Estimate cheapest encoding and call the corresponding encoding function.
|
static size_t | mingraph_analyzeForMinDBM (const raw_t *dbm, cindex_t dim, uint32_t *bitMatrix) |
| Analyze a DBM (internal function):
- minimal graph reduction information
- maximal bits needed
- # of contraints needed to save.
|
static int32_t * | mingraph_writeMinDBMDim2 (const raw_t *dbm, cindex_t dim, allocator_t c_alloc, size_t offset) |
| Save function for dim <= 2.
|
static void | mingraph_writeCopy32 (int32_t *save, const raw_t *dbm, cindex_t dim) |
static void | mingraph_writeCopy16 (int32_t *save, const raw_t *dbm, cindex_t dim) |
static void | mingraph_writeMinCouplesij32 (int32_t *where, const raw_t *dbm, cindex_t dim, const uint32_t *bitMatrix, size_t cnt, uint32_t bitCode) |
static void | mingraph_writeMinCouplesij16 (int32_t *where, const raw_t *dbm, cindex_t dim, const uint32_t *bitMatrix, size_t cnt, uint32_t bitCode) |
static void | mingraph_writeMinBitMatrix32 (int32_t *where, const raw_t *dbm, cindex_t dim, const uint32_t *bitMatrix, size_t cnt) |
static void | mingraph_writeMinBitMatrix16 (int32_t *where, const raw_t *dbm, cindex_t dim, const uint32_t *bitMatrix, size_t cnt) |
static uint32_t * | mingraph_jumpInt16 (int16_t *ints, size_t n) |
| Jump int16 integers, padded int32.
|
size_t | dbm_analyzeForMinDBM (const raw_t *dbm, cindex_t dim, uint32_t *bitMatrix) |
| Analyze a DBM for its minimal graph representation.
|
int32_t * | dbm_writeToMinDBMWithOffset (const raw_t *dbm, cindex_t dim, BOOL minimizeGraph, BOOL tryConstraints16, allocator_t c_alloc, size_t offset) |
| Save a DBM in minimal representation.
|
int32_t * | dbm_writeAnalyzedDBM (const raw_t *dbm, cindex_t dim, uint32_t *bitMatrix, size_t nbConstraints, BOOL tryConstraints16, allocator_t c_alloc, size_t offset) |
| Save a pre-analyzed DBM in minimal representation.
|
size_t | dbm_cleanBitMatrix (const raw_t *dbm, cindex_t dim, uint32_t *bitMatrix, size_t nbConstraints) |
| This is a post-processing function for dbm_analyzeForMinDBM to remove constraints of the form x>=0 that are part of the minimal graph but that do not give much information.
|