36 class HybridGaussianFactorGraph;
37 class HybridConditional;
39 class HybridEliminationTree;
40 class HybridBayesTree;
41 class HybridJunctionTree;
42 class DecisionTreeFactor;
55 std::pair<std::shared_ptr<HybridConditional>, std::shared_ptr<Factor>>
64 GTSAM_EXPORT
const Ordering
82 static std::pair<std::shared_ptr<ConditionalType>,
84 std::shared_ptr<FactorType>>
91 std::optional<std::reference_wrapper<const VariableIndex>>) {
108 template <
typename FACTOR>
133 template <
class DERIVEDFACTOR>
A set of GaussianFactors, indexed by a set of discrete keys.
typename std::enable_if< std::is_base_of< GaussianFactor, FACTOR >::value >::type IsGaussian
Check if FACTOR type is derived from GaussianFactor.
static std::pair< std::shared_ptr< ConditionalType >, std::shared_ptr< FactorType > > DefaultEliminate(const FactorGraphType &factors, const Ordering &keys)
The default dense elimination function.
Variable elimination algorithms for factor graphs.
A factor with a quadratic error function - a Gaussian.
const Ordering HybridOrdering(const HybridGaussianFactorGraph &graph)
Return a Colamd constrained ordering where the discrete keys are eliminated after the continuous keys...
const GaussianFactorGraph factors
HybridEliminationTree EliminationTreeType
Type of elimination tree.
NonlinearFactorGraph graph
Factor FactorType
Type of factors in factor graph.
HybridBayesTree BayesTreeType
Type of Bayes tree.
std::shared_ptr< This > shared_ptr
shared_ptr to This
HybridJunctionTree JunctionTreeType
HybridGaussianFactorGraph FactorGraphType
std::pair< HybridConditional::shared_ptr, std::shared_ptr< Factor > > EliminateHybrid(const HybridGaussianFactorGraph &factors, const Ordering &frontalKeys)
Main elimination function for HybridGaussianFactorGraph.
std::vector< float > Values
static Ordering DefaultOrderingFunc(const FactorGraphType &graph, std::optional< std::reference_wrapper< const VariableIndex >>)
The default ordering generation function.
Factor graph with utilities for hybrid factors.
HybridGaussianFactorGraph(const FactorGraph< DERIVEDFACTOR > &graph)
FastVector< Key > KeyVector
Define collection type once and for all - also used in wrappers.
HybridBayesNet BayesNetType
Type of Bayes net from sequential elimination.
HybridConditional ConditionalType
Type of conditionals from elimination.