gtsam
Loading...
Searching...
No Matches
HybridGaussianFactorGraph.cpp File Reference

Hybrid factor graph that uses type erasure. More...

Namespaces

namespace  gtsam
 Global functions in a separate testing namespace.

Typedefs

using gtsam::OrphanWrapper = BayesTreeOrphanWrapper<HybridBayesTree::Clique>
using gtsam::ResultTree = DecisionTree<Key, Result>

Functions

const Ordering gtsam::HybridOrdering (const HybridGaussianFactorGraph &graph)
 Return a Colamd constrained ordering where the discrete keys are eliminated after the continuous keys.
DecisionTreeFactor gtsam::DiscreteFactorFromErrors (const DiscreteKeys &discreteKeys, const AlgebraicDecisionTree< Key > &errors)
 Take negative log-values, shift them so that the minimum value is 0, and then exponentiate to create a TableFactor (not normalized yet!).
std::pair< HybridConditional::shared_ptr, std::shared_ptr< Factor > > gtsam::EliminateHybrid (const HybridGaussianFactorGraph &factors, const Ordering &keys)
 Main elimination function for HybridGaussianFactorGraph.

Detailed Description

Hybrid factor graph that uses type erasure.

Author
Fan Jiang
Varun Agrawal
Frank Dellaert
Date
Mar 11, 2022