31 template class BayesTreeCliqueBase<GaussianBayesTreeClique, GaussianFactorGraph>;
32 template class BayesTree<GaussianBayesTreeClique>;
52 auto cg = clique->conditional();
53 double logDet = cg->logDeterminant();
55 (*parentSum.
logDet) += logDet;
75 gttic(GaussianBayesTree_optimizeGradientSearch);
104 treeTraversal::no_op visitorPost;
const gtsam::Symbol key('X', 0)
Struct to help with traversing the Bayes Tree for log-determinant computation. Records the data which...
Matrix marginalCovariance(Key key) const
VectorValues optimizeGradientSearch() const
double logDeterminant(const typename BAYESTREE::sharedClique &clique)
Base class for cliques of a BayesTree.
bool equals(const This &other, double tol=1e-9) const
double error(const VectorValues &x) const
std::shared_ptr< This > shared_ptr
bool equals(const This &other, double tol=1e-9) const
EIGEN_DEVICE_FUNC const ExpReturnType exp() const
double error(const VectorValues &x) const
VectorValues optimize() const
void DepthFirstForestParallel(FOREST &forest, DATA &rootData, VISITOR_PRE &visitorPre, VISITOR_POST &visitorPost, int problemSizeThreshold=10)
VectorValues optimizeGradientSearch() const
Templated algorithms that are used in multiple places in linear.
VectorValues gradient(const VectorValues &x0) const
VectorValues optimizeBayesTree(const BAYESTREE &bayesTree)
Bayes Tree is a tree of cliques of a Bayes Chain.
double logDeterminant() const
VectorValues gradientAtZero() const
double determinant() const
Chordal Bayes Net, the result of eliminating a factor graph.
VectorValues gradient(const VectorValues &x0) const
LogDeterminantData & logDeterminant(const GaussianBayesTreeClique::shared_ptr &clique, LogDeterminantData &parentSum)
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
virtual VectorValues gradientAtZero() const
sharedConditional marginalFactor(Key j, const Eliminate &function=EliminationTraitsType::DefaultEliminate) const
Gaussian Bayes Tree, the result of eliminating a GaussianJunctionTree.
LogDeterminantData(double *logDet)
std::uint64_t Key
Integer nonlinear key type.