include/dai/daialg.h File Reference

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.

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.
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.


Detailed Description

Defines the general interface for inference methods in libDAI (classes InfAlg, DaiAlg<>, DaiAlgFG and DaiAlgRG).


Generated on Thu Aug 19 13:58:10 2010 for libDAI by  doxygen 1.5.5