libDAI
|
#include <dai/bp.h>
Public Member Functions | |
DAI_ENUM (UpdateType, SEQFIX, SEQRND, SEQMAX, PARALL) | |
Enumeration of possible update schedules. More... | |
DAI_ENUM (InfType, SUMPROD, MAXPROD) | |
Enumeration of inference variants. 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... | |
bool | logdomain |
Whether updates should be done in logarithmic domain or not. More... | |
Real | damping |
Damping constant (0.0 means no damping, 1.0 is maximum damping) More... | |
UpdateType | updates |
Message update schedule. More... | |
InfType | inference |
Inference variant. More... | |
Parameters for BP.
dai::BP::Properties::DAI_ENUM | ( | UpdateType | , |
SEQFIX | , | ||
SEQRND | , | ||
SEQMAX | , | ||
PARALL | |||
) |
Enumeration of possible update schedules.
The following update schedules have been defined:
dai::BP::Properties::DAI_ENUM | ( | InfType | , |
SUMPROD | , | ||
MAXPROD | |||
) |
Enumeration of inference variants.
There are two inference variants:
size_t dai::BP::Properties::verbose |
Verbosity (amount of output sent to stderr)
size_t dai::BP::Properties::maxiter |
Maximum number of iterations.
double dai::BP::Properties::maxtime |
Maximum time (in seconds)
Real dai::BP::Properties::tol |
Tolerance for convergence test.
bool dai::BP::Properties::logdomain |
Whether updates should be done in logarithmic domain or not.
Real dai::BP::Properties::damping |
Damping constant (0.0 means no damping, 1.0 is maximum damping)
UpdateType dai::BP::Properties::updates |
Message update schedule.
InfType dai::BP::Properties::inference |
Inference variant.