#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.
Namespaces | |
namespace | dai |
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... | |
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. |