Inference for tree graphs (undirected graphs without loops)
More...
#include <InferTree.h>
|
static float | MatMul (const Mat &M, const float *v, float *&dst, bool maxSum=false) |
| Specific matrix multiplication. More...
|
|
Inference for tree graphs (undirected graphs without loops)
- Author
- Sergey G. Kosov, serge.nosp@m.y.ko.nosp@m.sov@p.nosp@m.roje.nosp@m.ct-10.nosp@m..de
- Todo:
- Check the application of this class to DAGs and mixed graphs
Definition at line 16 of file InferTree.h.
◆ CInferTree()
DirectGraphicalModels::CInferTree::CInferTree |
( |
CGraphPairwise & |
graph | ) |
|
|
inline |
Constructor.
- Parameters
-
Definition at line 23 of file InferTree.h.
◆ ~CInferTree()
virtual DirectGraphicalModels::CInferTree::~CInferTree |
( |
void |
| ) |
|
|
inlinevirtual |
◆ calculateMessages()
void DirectGraphicalModels::CInferTree::calculateMessages |
( |
unsigned int |
nIt | ) |
|
|
protectedvirtual |
Calculates messages for exact inference in a tree graph.
This function estimates the marginal potentials for each graph node and stores them as node potentials.
- Parameters
-
Implements DirectGraphicalModels::CMessagePassing.
Definition at line 6 of file InferTree.cpp.
The documentation for this class was generated from the following files: