47 template<
typename ITERATOR>
48 GaussianBayesNet(ITERATOR firstConditional, ITERATOR lastConditional) : Base(firstConditional, lastConditional) {}
51 template<
class CONTAINER>
55 template<
class DERIVEDCONDITIONAL>
67 bool equals(
const This& bn,
double tol = 1
e-9)
const;
105 std::pair<Matrix, Vector>
matrix()
const;
185 const std::string&
s =
"",
197 void saveGraph(
const std::string&
s,
const KeyFormatter& keyFormatter =
204 friend class boost::serialization::access;
205 template<
class ARCHIVE>
207 ar & BOOST_SERIALIZATION_BASE_OBJECT_NVP(Base);
void print(const Matrix &A, const string &s, ostream &stream)
static enum @843 ordering
void determinant(const MatrixType &m)
double logDeterminant(const typename BAYESTREE::sharedClique &clique)
GaussianConditional ConditionalType
GaussianBayesNet(const CONTAINER &conditionals)
boost::shared_ptr< This > shared_ptr
NonlinearFactorGraph graph
static const KeyFormatter DefaultKeyFormatter
const KeyFormatter & formatter
Included from all GTSAM files.
GaussianBayesNet(ITERATOR firstConditional, ITERATOR lastConditional)
Point3 optimize(const NonlinearFactorGraph &graph, const Values &values, Key landmarkKey)
std::function< std::string(Key)> KeyFormatter
Typedef for a function to format a key, i.e. to convert it to a string.
Array< double, 1, 3 > e(1./3., 0.5, 2.)
Conditional Gaussian Base class.
void print(const std::string &s="", const KeyFormatter &formatter=DefaultKeyFormatter) const override
print graph
virtual ~GaussianBayesNet()
Destructor.
boost::shared_ptr< ConditionalType > sharedConditional
GaussianBayesNet(const FactorGraph< DERIVEDCONDITIONAL > &graph)
void serialize(ARCHIVE &ar, const unsigned int)
Map< Matrix< T, Dynamic, Dynamic, ColMajor >, 0, OuterStride<> > matrix(T *data, int rows, int cols, int stride)
FactorGraph< GaussianConditional > Base
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy x