#include <dai/bbp.h>
Public Member Functions | |
DAI_ENUM (UpdateType, SEQ_FIX, SEQ_MAX, SEQ_BP_REV, SEQ_BP_FWD, PAR) | |
Enumeration of possible update schedules. | |
void | set (const PropertySet &opts) |
Set members from PropertySet. | |
PropertySet | get () const |
Get members into PropertySet. | |
std::string | toString () const |
Convert to a string which can be parsed as a PropertySet. | |
Public Attributes | |
size_t | verbose |
Verbosity (amount of output sent to stderr). | |
size_t | maxiter |
Maximum number of iterations. | |
Real | tol |
Tolerance for convergence test. | |
Real | damping |
Damping constant (0 for none); damping = 1 - lambda where lambda is the damping constant used in [EaG09]. | |
UpdateType | updates |
Update schedule. |
dai::BBP::Properties::DAI_ENUM | ( | UpdateType | , | |
SEQ_FIX | , | |||
SEQ_MAX | , | |||
SEQ_BP_REV | , | |||
SEQ_BP_FWD | , | |||
PAR | ||||
) |
void dai::BBP::Properties::set | ( | const PropertySet & | opts | ) |
Set members from PropertySet.
UNKNOWN_PROPERTY | if a Property key is not recognized | |
NOT_ALL_PROPERTIES_SPECIFIED | if an expected Property is missing |
PropertySet dai::BBP::Properties::get | ( | ) | const |
Get members into PropertySet.
string dai::BBP::Properties::toString | ( | ) | const |
Convert to a string which can be parsed as a PropertySet.
Verbosity (amount of output sent to stderr).
Maximum number of iterations.
Tolerance for convergence test.
Damping constant (0 for none); damping = 1 - lambda where lambda is the damping constant used in [EaG09].
UpdateType dai::BBP::Properties::updates |
Update schedule.