libDAI
Namespaces | Functions
io.h File Reference

Provides functionality for input/output of data structures in various file formats. More...

#include <dai/factor.h>
#include <vector>
#include <map>

Go to the source code of this file.

Namespaces

 dai
 Namespace for libDAI.
 

Functions

void dai::ReadUaiAieFactorGraphFile (const char *filename, size_t verbose, std::vector< Var > &vars, std::vector< Factor > &factors, std::vector< Permute > &permutations)
 Reads factor graph (as a pair of a variable vector and factor vector) from a file in the UAI approximate inference challenge format. More...
 
std::vector< std::map< size_t, size_t > > dai::ReadUaiAieEvidenceFile (const char *filename, size_t verbose)
 Reads evidence (a mapping from observed variable labels to the observed values) from a file in the UAI approximate inference challenge format. More...
 

Detailed Description

Provides functionality for input/output of data structures in various file formats.