dai::BP::Properties Struct Reference

Parameters for BP. More...

#include <dai/bp.h>

List of all members.

Public Member Functions

 DAI_ENUM (UpdateType, SEQFIX, SEQRND, SEQMAX, PARALL)
 Enumeration of possible update schedules.
 DAI_ENUM (InfType, SUMPROD, MAXPROD)
 Enumeration of inference variants.

Public Attributes

size_t verbose
 Verbosity (amount of output sent to stderr).
size_t maxiter
 Maximum number of iterations.
double maxtime
 Maximum time (in seconds).
Real tol
 Tolerance for convergence test.
bool logdomain
 Whether updates should be done in logarithmic domain or not.
Real damping
 Damping constant (0.0 means no damping, 1.0 is maximum damping).
UpdateType updates
 Message update schedule.
InfType inference
 Inference variant.


Detailed Description

Parameters for BP.

Member Function Documentation

dai::BP::Properties::DAI_ENUM ( UpdateType  ,
SEQFIX  ,
SEQRND  ,
SEQMAX  ,
PARALL   
)

Enumeration of possible update schedules.

The following update schedules have been defined:

  • PARALL parallel updates
  • SEQFIX sequential updates using a fixed sequence
  • SEQRND sequential updates using a random sequence
  • SEQMAX maximum-residual updates [EMK06]

dai::BP::Properties::DAI_ENUM ( InfType  ,
SUMPROD  ,
MAXPROD   
)

Enumeration of inference variants.

There are two inference variants:

  • SUMPROD Sum-Product
  • MAXPROD Max-Product (equivalent to Min-Sum)


Member Data Documentation

Verbosity (amount of output sent to stderr).

Maximum number of iterations.

Maximum time (in seconds).

Tolerance for convergence test.

Whether updates should be done in logarithmic domain or not.

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

Message update schedule.

Inference variant.


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

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