dai::LC::Properties Struct Reference

Parameters for LC. More...

#include <dai/lc.h>

List of all members.

Public Member Functions

 DAI_ENUM (CavityType, FULL, PAIR, PAIR2, UNIFORM)
 Enumeration of possible ways to initialize the cavities.
 DAI_ENUM (UpdateType, SEQFIX, SEQRND)
 Enumeration of different update schedules.

Public Attributes

size_t verbose
 Verbosity (amount of output sent to stderr).
size_t maxiter
 Maximum number of iterations.
Real tol
 Tolerance for convergence test.
bool reinit
 Complete or partial reinitialization of cavity graphs?
Real damping
 Damping constant (0.0 means no damping, 1.0 is maximum damping).
CavityType cavity
 How to initialize the cavities.
UpdateType updates
 What update schedule to use.
std::string cavainame
 Name of the algorithm used to initialize the cavity distributions.
PropertySet cavaiopts
 Parameters for the algorithm used to initialize the cavity distributions.


Detailed Description

Parameters for LC.

Member Function Documentation

dai::LC::Properties::DAI_ENUM ( CavityType  ,
FULL  ,
PAIR  ,
PAIR2  ,
UNIFORM   
)

Enumeration of possible ways to initialize the cavities.

The following initialization methods are defined:

  • FULL calculates the marginal using calcMarginal()
  • PAIR calculates only second order interactions using calcPairBeliefs() with accurate == false
  • PAIR2 calculates only second order interactions using calcPairBeliefs() with accurate == true
  • UNIFORM uses a uniform distribution

dai::LC::Properties::DAI_ENUM ( UpdateType  ,
SEQFIX  ,
SEQRND   
)

Enumeration of different update schedules.

The following update schedules are defined:

  • SEQFIX sequential fixed schedule
  • SEQRND sequential random schedule


Member Data Documentation

Verbosity (amount of output sent to stderr).

Maximum number of iterations.

Tolerance for convergence test.

Complete or partial reinitialization of cavity graphs?

Damping constant (0.0 means no damping, 1.0 is maximum damping).

How to initialize the cavities.

What update schedule to use.

Name of the algorithm used to initialize the cavity distributions.

Parameters for the algorithm used to initialize the cavity distributions.


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

Generated on Thu Aug 5 19:04:07 2010 for libDAI by  doxygen 1.5.5