6 #include "MessagePassing.h" CInferLBP(CGraphPairwise &graph)
Constructor.
Abstract base class for message passing inference algorithmes.
bool isMaxSum(void) const
void setMaxSum(bool maxSum)
virtual void calculateMessages(unsigned int nIt)
Calculates messages, associated with the edges of corresponding graphical model.
bool m_maxSum
Flag indicating weather the max-sum LBP (Viterbi algorithm) should be applied.
Sum product Loopy Belief Propagation inference class.