26 lines
		
	
	
		
			626 B
		
	
	
	
		
			C++
		
	
	
		
		
			
		
	
	
			26 lines
		
	
	
		
			626 B
		
	
	
	
		
			C++
		
	
	
|  | /**
 | ||
|  |  * @file   SymbolicBayesNet.cpp | ||
|  |  * @brief  Chordal Bayes Net, the result of eliminating a factor graph | ||
|  |  * @author Frank Dellaert | ||
|  |  */ | ||
|  | 
 | ||
|  | #include <boost/foreach.hpp>
 | ||
|  | #include <boost/tuple/tuple.hpp>
 | ||
|  | 
 | ||
|  | // trick from some reading group
 | ||
|  | #define FOREACH_PAIR( KEY, VAL, COL) BOOST_FOREACH (boost::tie(KEY,VAL),COL)
 | ||
|  | 
 | ||
|  | #include "SymbolicBayesNet.h"
 | ||
|  | #include "BayesNet-inl.h"
 | ||
|  | 
 | ||
|  | using namespace std; | ||
|  | 
 | ||
|  | namespace gtsam { | ||
|  | 
 | ||
|  | 	// Explicitly instantiate so we don't have to include everywhere
 | ||
|  | 	template class BayesNet<SymbolicConditional>; | ||
|  | 
 | ||
|  | /* ************************************************************************* */ | ||
|  | 
 | ||
|  | } // namespace gtsam
 |