Public Member Functions | Public Attributes | List of all members
gtsam::internal::linearAlgorithms::OptimizeClique< CLIQUE > Struct Template Reference

#include <linearAlgorithms-inst.h>

Public Member Functions

OptimizeData operator() (const std::shared_ptr< CLIQUE > &clique, OptimizeData &parentData)
 

Public Attributes

VectorValues collectedResult
 

Detailed Description

template<class CLIQUE>
struct gtsam::internal::linearAlgorithms::OptimizeClique< CLIQUE >

Pre-order visitor for back-substitution in a Bayes tree. The visitor function operator()() optimizes the clique given the solution for the parents, and returns the solution for the clique's frontal variables. In addition, it adds the solution to a global collected solution that will finally be returned to the user. The reason we pass the individual clique solutions between nodes is to avoid log(n) lookups over all variables, they instead then are only over a node's parent variables.

Definition at line 50 of file linearAlgorithms-inst.h.

Member Function Documentation

◆ operator()()

template<class CLIQUE>
OptimizeData gtsam::internal::linearAlgorithms::OptimizeClique< CLIQUE >::operator() ( const std::shared_ptr< CLIQUE > &  clique,
OptimizeData parentData 
)
inline

Definition at line 54 of file linearAlgorithms-inst.h.

Member Data Documentation

◆ collectedResult

template<class CLIQUE>
VectorValues gtsam::internal::linearAlgorithms::OptimizeClique< CLIQUE >::collectedResult

Definition at line 52 of file linearAlgorithms-inst.h.


The documentation for this struct was generated from the following file:


gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:47:16