libDAI
|
#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... | |
Parameters for HAK.
dai::HAK::Properties::DAI_ENUM | ( | ClustersType | , |
MIN | , | ||
BETHE | , | ||
DELTA | , | ||
LOOP | |||
) |
Enumeration of possible cluster choices.
The following cluster choices are defined:
dai::HAK::Properties::DAI_ENUM | ( | InitType | , |
UNIFORM | , | ||
RANDOM | |||
) |
Enumeration of possible message initializations.
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
)