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

Parameters for HAK. More...

#include <dai/hak.h>

Public Member Functions

 DAI_ENUM (ClustersType, MIN, BETHE, DELTA, LOOP)
 Enumeration of possible cluster choices. More...
 
 DAI_ENUM (InitType, UNIFORM, RANDOM)
 Enumeration of possible message initializations. More...
 

Public Attributes

size_t verbose
 Verbosity (amount of output sent to stderr) More...
 
size_t maxiter
 Maximum number of iterations. More...
 
double maxtime
 Maximum time (in seconds) More...
 
Real tol
 Tolerance for convergence test. More...
 
Real damping
 Damping constant (0.0 means no damping, 1.0 is maximum damping) More...
 
ClustersType clusters
 How to choose the outer regions. More...
 
InitType init
 How to initialize the messages. More...
 
bool doubleloop
 Use single-loop (GBP) or double-loop (HAK) More...
 
size_t loopdepth
 Depth of loops (only relevant for clusters == ClustersType::LOOP) More...
 

Detailed Description

Parameters for HAK.

Member Function Documentation

dai::HAK::Properties::DAI_ENUM ( ClustersType  ,
MIN  ,
BETHE  ,
DELTA  ,
LOOP   
)

Enumeration of possible cluster choices.

The following cluster choices are defined:

  • MIN minimal clusters, i.e., one outer region for each maximal factor
  • DELTA one outer region for each variable and its Markov blanket
  • LOOP one cluster for each loop of length at most Properties::loopdepth, and in addition one cluster for each maximal factor
  • BETHE Bethe approximation (one outer region for each maximal factor, inner regions are single variables)
dai::HAK::Properties::DAI_ENUM ( InitType  ,
UNIFORM  ,
RANDOM   
)

Enumeration of possible message initializations.

Member Data Documentation

size_t dai::HAK::Properties::verbose

Verbosity (amount of output sent to stderr)

size_t dai::HAK::Properties::maxiter

Maximum number of iterations.

double dai::HAK::Properties::maxtime

Maximum time (in seconds)

Real dai::HAK::Properties::tol

Tolerance for convergence test.

Real dai::HAK::Properties::damping

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

ClustersType dai::HAK::Properties::clusters

How to choose the outer regions.

InitType dai::HAK::Properties::init

How to initialize the messages.

bool dai::HAK::Properties::doubleloop

Use single-loop (GBP) or double-loop (HAK)

size_t dai::HAK::Properties::loopdepth

Depth of loops (only relevant for clusters == ClustersType::LOOP)


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