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 74 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 89 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 107 of file HybridBayesTree.cpp.
|
inline |
Definition at line 97 of file HybridBayesTree.cpp.
const DiscreteValues gtsam::HybridAssignmentData::assignment_ |
Definition at line 75 of file HybridBayesTree.cpp.
GaussianBayesTree* gtsam::HybridAssignmentData::gaussianbayesTree_ |
Definition at line 78 of file HybridBayesTree.cpp.
GaussianBayesTree::sharedNode gtsam::HybridAssignmentData::parentClique_ |
Definition at line 76 of file HybridBayesTree.cpp.
bool gtsam::HybridAssignmentData::valid_ |
Definition at line 80 of file HybridBayesTree.cpp.