|
libDAI
|
Defines the general interface for inference methods in libDAI (classes InfAlg, DaiAlg<>, DaiAlgFG and DaiAlgRG). More...
#include <string>#include <iostream>#include <vector>#include <dai/factorgraph.h>#include <dai/regiongraph.h>#include <dai/properties.h>Go to the source code of this file.
Classes | |
| class | dai::InfAlg |
| InfAlg is an abstract base class, defining the common interface of all inference algorithms in libDAI. More... | |
| class | dai::DAIAlg< GRM > |
| Combines the abstract base class InfAlg with a graphical model (e.g., a FactorGraph or RegionGraph). More... | |
Namespaces | |
| namespace | dai |
Namespace for libDAI. | |
Typedefs | |
| typedef DAIAlg< FactorGraph > | dai::DAIAlgFG |
| Base class for inference algorithms that operate on a FactorGraph. | |
| typedef DAIAlg< RegionGraph > | dai::DAIAlgRG |
| Base class for inference algorithms that operate on a RegionGraph. | |
Functions | |
| Factor | dai::calcMarginal (const InfAlg &obj, const VarSet &vs, bool reInit) |
| Calculates the marginal probability distribution for vs using inference algorithm obj. | |
| vector< Factor > | dai::calcPairBeliefs (const InfAlg &obj, const VarSet &vs, bool reInit, bool accurate=false) |
| Calculates beliefs for all pairs of variables in vs using inference algorithm obj. | |
| std::vector< size_t > | dai::findMaximum (const InfAlg &obj) |
| Calculates the joint state of all variables that has maximum probability, according to the inference algorithm obj. | |
Defines the general interface for inference methods in libDAI (classes InfAlg, DaiAlg<>, DaiAlgFG and DaiAlgRG).
1.7.4