Helper class for Depth First Forest traversal on the HybridBayesTree. More...
Public Member Functions | |
| HybridAssignmentData (const DiscreteValues &assignment, const GaussianBayesTree::sharedNode &parentClique, GaussianBayesTree *gbt, bool valid=true) | |
| Construct a new Hybrid Assignment Data object. More... | |
| bool | isValid () const |
Static Public Member Functions | |
| static HybridAssignmentData | AssignmentPreOrderVisitor (const HybridBayesTree::sharedNode &node, HybridAssignmentData &parentData) |
| A function used during tree traversal that operates on each node before visiting the node's children. More... | |
Public Attributes | |
| const DiscreteValues | assignment_ |
| GaussianBayesTree * | gaussianbayesTree_ |
| GaussianBayesTree::sharedNode | parentClique_ |
| bool | valid_ |
Helper class for Depth First Forest traversal on the HybridBayesTree.
When traversing the tree, the pre-order visitor will receive an instance of this class with the parent clique data.
Definition at line 97 of file HybridBayesTree.cpp.
|
inline |
Construct a new Hybrid Assignment Data object.
| assignment | The MPE assignment for the optimal Gaussian cliques. |
| parentClique | The clique from the parent node of the current node. |
| gbt | The Gaussian Bayes Tree being generated during tree traversal. |
Definition at line 112 of file HybridBayesTree.cpp.
|
inlinestatic |
A function used during tree traversal that operates on each node before visiting the node's children.
| node | The current node being visited. |
| parentData | The HybridAssignmentData from the parent node. |
Definition at line 130 of file HybridBayesTree.cpp.
|
inline |
Definition at line 120 of file HybridBayesTree.cpp.
| const DiscreteValues gtsam::HybridAssignmentData::assignment_ |
Definition at line 98 of file HybridBayesTree.cpp.
| GaussianBayesTree* gtsam::HybridAssignmentData::gaussianbayesTree_ |
Definition at line 101 of file HybridBayesTree.cpp.
| GaussianBayesTree::sharedNode gtsam::HybridAssignmentData::parentClique_ |
Definition at line 99 of file HybridBayesTree.cpp.
| bool gtsam::HybridAssignmentData::valid_ |
Definition at line 103 of file HybridBayesTree.cpp.