libDAI
Public Member Functions | Public Attributes | List of all members
dai::MR::Properties Struct Reference

Parameters for MR. More...

#include <dai/mr.h>

Public Member Functions

 DAI_ENUM (UpdateType, FULL, LINEAR)
 Enumeration of different types of update equations. More...
 
 DAI_ENUM (InitType, RESPPROP, CLAMPING, EXACT)
 Enumeration of different ways of initializing the cavity correlations. More...
 

Public Attributes

size_t verbose
 Verbosity (amount of output sent to stderr) More...
 
Real tol
 Tolerance for convergence test. More...
 
UpdateType updates
 Update equations. More...
 
InitType inits
 How to initialize the cavity correlations. More...
 

Detailed Description

Parameters for MR.

Member Function Documentation

dai::MR::Properties::DAI_ENUM ( UpdateType  ,
FULL  ,
LINEAR   
)

Enumeration of different types of update equations.

The possible update equations are:

  • FULL full updates, slow but accurate
  • LINEAR linearized updates, faster but less accurate
dai::MR::Properties::DAI_ENUM ( InitType  ,
RESPPROP  ,
CLAMPING  ,
EXACT   
)

Enumeration of different ways of initializing the cavity correlations.

The possible cavity initializations are:

  • RESPPROP using response propagation ("linear response")
  • CLAMPING using clamping and BP
  • EXACT using JunctionTree

Member Data Documentation

size_t dai::MR::Properties::verbose

Verbosity (amount of output sent to stderr)

Real dai::MR::Properties::tol

Tolerance for convergence test.

UpdateType dai::MR::Properties::updates

Update equations.

InitType dai::MR::Properties::inits

How to initialize the cavity correlations.


The documentation for this struct was generated from the following file: