#include <dai/bp.h>
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. |
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).
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).
UpdateType dai::BP::Properties::updates |
Message update schedule.
InfType dai::BP::Properties::inference |
Inference variant.