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>>
56 EliminateHybrid(
const HybridGaussianFactorGraph& factors,
const Ordering& keys);
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>
110 std::is_base_of<GaussianFactor, FACTOR>::value>::type;
133 template <
class DERIVEDFACTOR>
Definition: HybridValues.h:38
A set of GaussianFactors, indexed by a set of discrete keys.
Definition: HybridJunctionTree.h:52
GTSAM_EXPORT const Ordering HybridOrdering(const HybridGaussianFactorGraph &graph)
Return a Colamd constrained ordering where the discrete keys are eliminated after the continuous keys...
Definition: HybridEliminationTree.h:31
typename std::enable_if< std::is_base_of< GaussianFactor, FACTOR >::value >::type IsGaussian
Check if FACTOR type is derived from GaussianFactor.
Definition: HybridGaussianFactorGraph.h:110
static std::pair< std::shared_ptr< ConditionalType >, std::shared_ptr< FactorType > > DefaultEliminate(const FactorGraphType &factors, const Ordering &keys)
The default dense elimination function.
Definition: HybridGaussianFactorGraph.h:85
Variable elimination algorithms for factor graphs.
A factor with a quadratic error function - a Gaussian.
Definition: BayesTree.h:34
Variable ordering for the elimination algorithm.
Definition: Ordering.h:37
Definition: HybridBayesTree.h:62
HybridEliminationTree EliminationTreeType
Type of elimination tree.
Definition: HybridGaussianFactorGraph.h:79
Definition: VectorValues.h:74
Definition: HybridGaussianFactorGraph.h:103
Factor FactorType
Type of factors in factor graph.
Definition: HybridGaussianFactorGraph.h:70
HybridBayesTree BayesTreeType
Type of Bayes tree.
Definition: HybridGaussianFactorGraph.h:80
Definition: DecisionTree.h:49
Definition: HybridBayesNet.h:35
std::shared_ptr< This > shared_ptr
shared_ptr to This
Definition: HybridFactorGraph.h:42
HybridJunctionTree JunctionTreeType
Definition: HybridGaussianFactorGraph.h:81
HybridGaussianFactorGraph FactorGraphType
Definition: HybridGaussianFactorGraph.h:72
Definition: chartTesting.h:28
FastVector< Key > KeyVector
Define collection type once and for all - also used in wrappers.
Definition: Key.h:86
Definition: HybridFactorGraph.h:38
Definition: BayesTreeCliqueBase.h:33
static Ordering DefaultOrderingFunc(const FactorGraphType &graph, std::optional< std::reference_wrapper< const VariableIndex >>)
The default ordering generation function.
Definition: HybridGaussianFactorGraph.h:89
Factor graph with utilities for hybrid factors.
Definition: HybridConditional.h:59
GTSAM_EXPORT std::pair< std::shared_ptr< HybridConditional >, std::shared_ptr< Factor > > EliminateHybrid(const HybridGaussianFactorGraph &factors, const Ordering &keys)
Main elimination function for HybridGaussianFactorGraph.
Definition: EliminateableFactorGraph.h:55
HybridGaussianFactorGraph(const FactorGraph< DERIVEDFACTOR > &graph)
Definition: HybridGaussianFactorGraph.h:134
HybridBayesNet BayesNetType
Type of Bayes net from sequential elimination.
Definition: HybridGaussianFactorGraph.h:77
HybridConditional ConditionalType
Type of conditionals from elimination.
Definition: HybridGaussianFactorGraph.h:75