Direct Graphical Models
v.1.5.1
|
Exact decoding class. More...
#include <DecodeExact.h>
Public Member Functions | |
CDecodeExact (CGraph *pGraph) | |
Constructor. More... | |
virtual | ~CDecodeExact (void) |
virtual vec_byte_t | decode (unsigned int nIt=0, Mat &lossMatrix=Mat()) const |
Exact decoding. More... | |
Public Member Functions inherited from DirectGraphicalModels::CDecode | |
virtual | ~CDecode (void) |
Additional Inherited Members | |
Static Public Member Functions inherited from DirectGraphicalModels::CDecode | |
static vec_byte_t | decode (const CGraph *pGraph, Mat &lossMatrix=Mat()) |
Approximate decoding. More... | |
static Mat | getDefaultLossMatrix (byte nStates) |
Returns a default loss matrix \(L\). More... | |
Protected Member Functions inherited from DirectGraphicalModels::CDecode | |
CDecode (CGraph *pGraph) | |
Constructor. More... | |
void | setState (vec_byte_t &state, qword configuration) const |
Sets the state according to the configuration index configuration. More... | |
void | incState (vec_byte_t &state) const |
Increases the state by one, i.e. switches the state array to the consequent configuration. More... | |
vec_float_t | calculatePotentials (void) const |
Calculates potentials for all possible configurations. More... | |
Protected Attributes inherited from DirectGraphicalModels::CDecode | |
CGraph * | m_pGraph |
Pointer to the graph. More... | |
Exact decoding class.
Definition at line 16 of file DecodeExact.h.
|
inline |
|
inlinevirtual |
Definition at line 24 of file DecodeExact.h.
|
virtual |
Exact decoding.
nIt | is not used |
lossMatrix | is not used |
Reimplemented from DirectGraphicalModels::CDecode.
Definition at line 8 of file DecodeExact.cpp.