|
libDAI
|
Main libDAI header file. It #includes all other libDAI headers. More...
#include <string>#include <dai/daialg.h>#include <dai/properties.h>#include <dai/exactinf.h>#include <dai/evidence.h>#include <dai/emalg.h>#include <dai/bp.h>#include <dai/fbp.h>#include <dai/trwbp.h>#include <dai/mf.h>#include <dai/hak.h>#include <dai/lc.h>#include <dai/treeep.h>#include <dai/jtree.h>#include <dai/mr.h>#include <dai/cbp.h>Go to the source code of this file.
Namespaces | |
| namespace | dai |
Namespace for libDAI. | |
Functions | |
| std::map< std::string, InfAlg * > & | dai::builtinInfAlgs () |
| Returns a map that contains for each built-in inference algorithm its name and a pointer to an object of that type. | |
| std::set< std::string > | dai::builtinInfAlgNames () |
| Returns a set of names of all available inference algorithms. | |
| InfAlg * | dai::newInfAlg (const std::string &name, const FactorGraph &fg, const PropertySet &opts) |
| Constructs a new inference algorithm. | |
| InfAlg * | dai::newInfAlgFromString (const std::string &nameOpts, const FactorGraph &fg) |
| Constructs a new inference algorithm. | |
| InfAlg * | dai::newInfAlgFromString (const std::string &nameOpts, const FactorGraph &fg, const std::map< std::string, std::string > &aliases) |
| Constructs a new inference algorithm. | |
| std::pair< std::string, PropertySet > | dai::parseNameProperties (const std::string &s) |
| Extracts the name and property set from a string s in the format "name[key1=val1,key2=val2,...]" or "name". | |
| std::pair< std::string, PropertySet > | dai::parseNameProperties (const std::string &s, const std::map< std::string, std::string > &aliases) |
| Extracts the name and property set from a string s in the format "name[key1=val1,key2=val2,...]" or "name", performing alias substitution. | |
| std::map< std::string, std::string > | dai::readAliasesFile (const std::string &filename) |
| Reads aliases from file named filename. | |
1.7.4