libDAI
include/dai/io.h
Go to the documentation of this file.
00001 /*  This file is part of libDAI - http://www.libdai.org/
00002  *
00003  *  Copyright (c) 2006-2011, The libDAI authors. All rights reserved.
00004  *
00005  *  Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
00006  */
00007 
00008 
00011 
00012 
00013 #ifndef __defined_libdai_io_h
00014 #define __defined_libdai_io_h
00015 
00016 
00017 #include <dai/factor.h>
00018 #include <vector>
00019 #include <map>
00020 
00021 
00022 namespace dai {
00023 
00024 
00026 
00033 void ReadUaiAieFactorGraphFile( const char *filename, size_t verbose, std::vector<Var>& vars, std::vector<Factor>& factors, std::vector<Permute>& permutations );
00034 
00035 
00037 
00041 std::vector<std::map<size_t, size_t> > ReadUaiAieEvidenceFile( const char* filename, size_t verbose );
00042 
00043 
00044 } // end of namespace dai
00045 
00046 
00047 #endif