37 class GTSAM_EXPORT GaussianBayesTreeClique :
41 typedef GaussianBayesTreeClique This;
43 typedef std::shared_ptr<This> shared_ptr;
44 typedef std::weak_ptr<This> weak_ptr;
45 GaussianBayesTreeClique() {}
59 typedef std::shared_ptr<This> shared_ptr;
65 bool equals(
const This& other,
double tol = 1e-9)
const;
119 double determinant()
const;
126 double logDeterminant()
const;
129 Matrix marginalInformation(
Key key)
const;
132 Matrix marginalCovariance(
Key key)
const;
154 const Eliminate& eliminate)
const {
161 const Eliminate& eliminate)
const {
173#if GTSAM_ENABLE_BOOST_SERIALIZATION
Base class for cliques of a BayesTree.
Bayes Tree is a tree of cliques of a Bayes Chain.
Block access to joint Gaussian covariance or information matrices.
Chordal Bayes Net, the result of eliminating a factor graph.
Linear Factor Graph where all factors are Gaussians.
Internal helpers for Gaussian Bayes-tree covariance queries.
JointMarginal jointMarginalInformation(const BAYESTREE &bayesTree, const KeyVector &queryKeys, const typename BAYESTREE::FactorGraphType::Eliminate &eliminate)
Return joint marginal information with blocks in query-key order.
Definition GaussianBayesTreeQueries.h:209
Matrix marginalInformation(const BAYESTREE &bayesTree, Key key, const typename BAYESTREE::FactorGraphType::Eliminate &eliminate)
Return marginal information for one key using the requested elimination.
Definition GaussianBayesTreeQueries.h:200
JointMarginal jointMarginalCovariance(const BAYESTREE &bayesTree, const KeyVector &queryKeys, const typename BAYESTREE::FactorGraphType::Eliminate &eliminate)
Return joint marginal covariance with blocks in query-key order.
Definition GaussianBayesTreeQueries.h:228
Global functions in a separate testing namespace.
Definition chartTesting.h:28
FastVector< Key > KeyVector
Define collection type once and for all - also used in wrappers.
Definition Key.h:91
Point3 optimize(const NonlinearFactorGraph &graph, const Values &values, Key landmarkKey)
Optimize for triangulation.
Definition triangulation.cpp:178
std::uint64_t Key
Integer nonlinear key type.
Definition types.h:43
A manifold defines a space in which there is a notion of a linear tangent space that can be centered ...
Definition Group.h:37
Template to create a binary predicate.
Definition Testable.h:112
A helper that implements the traits interface for GTSAM types.
Definition Testable.h:152
BayesTree()
Definition BayesTree.h:119
BayesTreeCliqueBase()
Definition BayesTreeCliqueBase.h:73
const sharedConditional & conditional() const
Definition BayesTreeCliqueBase.h:140
A Bayes tree representing a Gaussian density.
Definition GaussianBayesTree.h:53
GaussianBayesTree()
Default constructor, creates an empty Bayes tree.
Definition GaussianBayesTree.h:62
JointMarginal jointMarginalCovariance(const KeyVector &queryKeys, const Eliminate &eliminate) const
Return joint marginal covariance in queryKeys order using an elimination rule.
Definition GaussianBayesTree.h:160
Matrix marginalInformation(Key key, const Eliminate &eliminate) const
Return the marginal information matrix using a specific elimination rule.
Definition GaussianBayesTree.h:135
Matrix marginalCovariance(Key key, const Eliminate &eliminate) const
Return the marginal covariance matrix using a specific elimination rule.
Definition GaussianBayesTree.h:140
JointMarginal jointMarginalInformation(const KeyVector &queryKeys, const Eliminate &eliminate) const
Return joint marginal information in queryKeys order using an elimination rule.
Definition GaussianBayesTree.h:153
A GaussianConditional functions as the node in a Bayes network.
Definition GaussianConditional.h:43
A class to store and access a joint marginal, returned from Gaussian and nonlinear covariance query A...
Definition JointMarginal.h:34
VectorValues represents a collection of vector-valued variables associated each with a unique integer...
Definition VectorValues.h:73