Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
gtsam::HybridAssignmentData Struct Reference

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_
 
GaussianBayesTreegaussianbayesTree_
 
GaussianBayesTree::sharedNode parentClique_
 
bool valid_
 

Detailed Description

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 71 of file HybridBayesTree.cpp.

Constructor & Destructor Documentation

◆ HybridAssignmentData()

gtsam::HybridAssignmentData::HybridAssignmentData ( const DiscreteValues assignment,
const GaussianBayesTree::sharedNode parentClique,
GaussianBayesTree gbt,
bool  valid = true 
)
inline

Construct a new Hybrid Assignment Data object.

Parameters
assignmentThe MPE assignment for the optimal Gaussian cliques.
parentCliqueThe clique from the parent node of the current node.
gbtThe Gaussian Bayes Tree being generated during tree traversal.

Definition at line 86 of file HybridBayesTree.cpp.

Member Function Documentation

◆ AssignmentPreOrderVisitor()

static HybridAssignmentData gtsam::HybridAssignmentData::AssignmentPreOrderVisitor ( const HybridBayesTree::sharedNode node,
HybridAssignmentData parentData 
)
inlinestatic

A function used during tree traversal that operates on each node before visiting the node's children.

Parameters
nodeThe current node being visited.
parentDataThe HybridAssignmentData from the parent node.
Returns
HybridAssignmentData which is passed to the children.

Definition at line 104 of file HybridBayesTree.cpp.

◆ isValid()

bool gtsam::HybridAssignmentData::isValid ( ) const
inline

Definition at line 94 of file HybridBayesTree.cpp.

Member Data Documentation

◆ assignment_

const DiscreteValues gtsam::HybridAssignmentData::assignment_

Definition at line 72 of file HybridBayesTree.cpp.

◆ gaussianbayesTree_

GaussianBayesTree* gtsam::HybridAssignmentData::gaussianbayesTree_

Definition at line 75 of file HybridBayesTree.cpp.

◆ parentClique_

GaussianBayesTree::sharedNode gtsam::HybridAssignmentData::parentClique_

Definition at line 73 of file HybridBayesTree.cpp.

◆ valid_

bool gtsam::HybridAssignmentData::valid_

Definition at line 77 of file HybridBayesTree.cpp.


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


gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:46:20