include/dai/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

namespace  dai

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


Detailed Description

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


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