Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

mingraph_read.c File Reference

Contains implementation of the read function from the API: this is a switch between different encoding specific functions. More...

#include <stdlib.h>
#include <stdio.h>
#include "base/bitstring.h"
#include "dbm/mingraph.h"
#include "mingraph_coding.h"
#include "debug/macros.h"

Typedefs

typedef cindex_t(* readDBM_f )(raw_t *, const int32_t *)
typedef size_t(* bitMatrixDBM_f )(uint32_t *, const int32_t *, BOOL, raw_t *)

Functions

static cindex_t mingraph_readFromCopy32 (raw_t *dbm, const int32_t *mingraph)
static cindex_t mingraph_readFromCopy16 (raw_t *dbm, const int32_t *mingraph)
static cindex_t mingraph_readFromMinBitMatrix32 (raw_t *dbm, const int32_t *mingraph)
static cindex_t mingraph_readFromMinBitMatrix16 (raw_t *dbm, const int32_t *mingraph)
static cindex_t mingraph_readFromMinCouplesij32 (raw_t *dbm, const int32_t *mingraph)
static cindex_t mingraph_readFromMinCouplesij16 (raw_t *dbm, const int32_t *mingraph)
static cindex_t mingraph_readError (raw_t *dbm, const int32_t *mingraph)
 Fatal error: should not be called.
static size_t mingraph_bitMatrixFromCopy32 (uint32_t *bitMatrix, const int32_t *mingraph, BOOL isUnpacked, raw_t *buffer)
static size_t mingraph_bitMatrixFromCopy16 (uint32_t *bitMatrix, const int32_t *mingraph, BOOL isUnpacked, raw_t *buffer)
static size_t mingraph_bitMatrixFromBitMatrix32 (uint32_t *bitMatrix, const int32_t *mingraph, BOOL isUnpacked, raw_t *buffer)
static size_t mingraph_bitMatrixFromBitMatrix16 (uint32_t *bitMatrix, const int32_t *mingraph, BOOL isUnpacked, raw_t *buffer)
static size_t mingraph_bitMatrixFromCouplesij32 (uint32_t *bitMatrix, const int32_t *mingraph, BOOL isUnpacked, raw_t *buffer)
static size_t mingraph_bitMatrixFromCouplesij16 (uint32_t *bitMatrix, const int32_t *mingraph, BOOL isUnpacked, raw_t *buffer)
static size_t mingraph_bitMatrixError (uint32_t *bitMatrix, const int32_t *mingraph, BOOL isUnpacked, raw_t *buffer)
 Fatal error: should not be called.
cindex_t dbm_readFromMinDBM (raw_t *dbm, const int32_t *minDBM)
size_t dbm_getBitMatrixFromMinDBM (uint32_t *bitMatrix, const int32_t *minDBM, BOOL isUnpacked, raw_t *buffer)
static size_t mingraph_addMissingConstraints (uint32_t *matrix, const int32_t *mingraph, raw_t *dbm, cindex_t dim, size_t nbConstraints)


Detailed Description

Contains implementation of the read function from the API: this is a switch between different encoding specific functions.


Typedef Documentation

typedef size_t(* bitMatrixDBM_f)(uint32_t *, const int32_t *, BOOL, raw_t *)
 

typedef cindex_t(* readDBM_f)(raw_t *, const int32_t *)
 


Function Documentation

size_t dbm_getBitMatrixFromMinDBM uint32_t *  bitMatrix,
const int32_t *  minDBM,
BOOL  isUnpacked,
raw_t buffer
 

cindex_t dbm_readFromMinDBM raw_t dbm,
const int32_t *  minDBM
 

static size_t mingraph_addMissingConstraints uint32_t *  matrix,
const int32_t *  mingraph,
raw_t dbm,
cindex_t  dim,
size_t  nbConstraints
[static]
 

static size_t mingraph_bitMatrixError uint32_t *  bitMatrix,
const int32_t *  mingraph,
BOOL  isUnpacked,
raw_t buffer
[static]
 

Fatal error: should not be called.

static size_t mingraph_bitMatrixFromBitMatrix16 uint32_t *  bitMatrix,
const int32_t *  mingraph,
BOOL  isUnpacked,
raw_t buffer
[static]
 

static size_t mingraph_bitMatrixFromBitMatrix32 uint32_t *  bitMatrix,
const int32_t *  mingraph,
BOOL  isUnpacked,
raw_t buffer
[static]
 

static size_t mingraph_bitMatrixFromCopy16 uint32_t *  bitMatrix,
const int32_t *  mingraph,
BOOL  isUnpacked,
raw_t buffer
[static]
 

static size_t mingraph_bitMatrixFromCopy32 uint32_t *  bitMatrix,
const int32_t *  mingraph,
BOOL  isUnpacked,
raw_t buffer
[static]
 

static size_t mingraph_bitMatrixFromCouplesij16 uint32_t *  bitMatrix,
const int32_t *  mingraph,
BOOL  isUnpacked,
raw_t buffer
[static]
 

static size_t mingraph_bitMatrixFromCouplesij32 uint32_t *  bitMatrix,
const int32_t *  mingraph,
BOOL  isUnpacked,
raw_t buffer
[static]
 

static cindex_t mingraph_readError raw_t dbm,
const int32_t *  mingraph
[static]
 

Fatal error: should not be called.

static cindex_t mingraph_readFromCopy16 raw_t dbm,
const int32_t *  mingraph
[static]
 

static cindex_t mingraph_readFromCopy32 raw_t dbm,
const int32_t *  mingraph
[static]
 

static cindex_t mingraph_readFromMinBitMatrix16 raw_t dbm,
const int32_t *  mingraph
[static]
 

static cindex_t mingraph_readFromMinBitMatrix32 raw_t dbm,
const int32_t *  mingraph
[static]
 

static cindex_t mingraph_readFromMinCouplesij16 raw_t dbm,
const int32_t *  mingraph
[static]
 

static cindex_t mingraph_readFromMinCouplesij32 raw_t dbm,
const int32_t *  mingraph
[static]
 


Generated on Fri Jun 30 00:02:45 2006 for Module dbm by  doxygen 1.4.2