23 #include <boost/range/adaptor/reversed.hpp> 29 template class FactorGraph<SymbolicConditional>;
40 std::ofstream of(s.c_str());
45 Key me = frontals.front();
48 of <<
p <<
"->" << me << std::endl;
GTSAM_EXPORT void saveGraph(const std::string &s, const KeyFormatter &keyFormatter=DefaultKeyFormatter) const
bool equals(const This &fg, double tol=1e-9) const
GTSAM_EXPORT bool equals(const This &bn, double tol=1e-9) const
std::function< std::string(Key)> KeyFormatter
Typedef for a function to format a key, i.e. to convert it to a string.
void reverse(const MatrixType &m)
boost::iterator_range< typename SymbolicFactor::const_iterator > Parents
std::uint64_t Key
Integer nonlinear key type.
boost::iterator_range< typename SymbolicFactor::const_iterator > Frontals