libDAI
io.h
Go to the documentation of this file.
1 /* This file is part of libDAI - http://www.libdai.org/
2  *
3  * Copyright (c) 2006-2011, The libDAI authors. All rights reserved.
4  *
5  * Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
6  */
7 
8 
11 
12 
13 #ifndef __defined_libdai_io_h
14 #define __defined_libdai_io_h
15 
16 
17 #include <dai/factor.h>
18 #include <vector>
19 #include <map>
20 
21 
22 namespace dai {
23 
24 
26 
33 void ReadUaiAieFactorGraphFile( const char *filename, size_t verbose, std::vector<Var>& vars, std::vector<Factor>& factors, std::vector<Permute>& permutations );
34 
35 
37 
41 std::vector<std::map<size_t, size_t> > ReadUaiAieEvidenceFile( const char* filename, size_t verbose );
42 
43 
44 } // end of namespace dai
45 
46 
47 #endif