include/dai/alldai.h File Reference

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

Functions

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.

Variables

static const char * dai::DAINames []
 Contains the names of all inference algorithms compiled into libDAI.


Detailed Description

Main libDAI header file. It #includes all other libDAI headers.

Todo:
Replace VarSets by SmallSet<size_t> where appropriate, in order to minimize the use of FactorGraph::findVar().
Todo:
Improve SWIG interfaces and merge their build process with the main build process

Generated on Thu Aug 5 19:04:01 2010 for libDAI by  doxygen 1.5.5