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