Public Types | Static Public Member Functions | List of all members
gtsam::EliminationTraits< DiscreteFactorGraph > Struct Template Reference

#include <DiscreteFactorGraph.h>

Public Types

typedef DiscreteBayesNet BayesNetType
 Type of Bayes net from sequential elimination. More...
 
typedef DiscreteBayesTree BayesTreeType
 Type of Bayes tree. More...
 
typedef DiscreteConditional ConditionalType
 Type of conditionals from elimination. More...
 
typedef DiscreteEliminationTree EliminationTreeType
 Type of elimination tree. More...
 
typedef DiscreteFactorGraph FactorGraphType
 Type of the factor graph (e.g. DiscreteFactorGraph) More...
 
typedef DiscreteFactor FactorType
 Type of factors in factor graph. More...
 
typedef DiscreteJunctionTree JunctionTreeType
 

Static Public Member Functions

static std::pair< std::shared_ptr< ConditionalType >, std::shared_ptr< FactorType > > DefaultEliminate (const FactorGraphType &factors, const Ordering &keys)
 The default dense elimination function. More...
 
static Ordering DefaultOrderingFunc (const FactorGraphType &graph, std::optional< std::reference_wrapper< const VariableIndex >> variableIndex)
 The default ordering generation function. More...
 

Detailed Description

template<>
struct gtsam::EliminationTraits< DiscreteFactorGraph >

Definition at line 54 of file DiscreteFactorGraph.h.

Member Typedef Documentation

◆ BayesNetType

Type of Bayes net from sequential elimination.

Definition at line 59 of file DiscreteFactorGraph.h.

◆ BayesTreeType

Type of Bayes tree.

Definition at line 61 of file DiscreteFactorGraph.h.

◆ ConditionalType

Type of conditionals from elimination.

Definition at line 58 of file DiscreteFactorGraph.h.

◆ EliminationTreeType

Type of elimination tree.

Definition at line 60 of file DiscreteFactorGraph.h.

◆ FactorGraphType

Type of the factor graph (e.g. DiscreteFactorGraph)

Definition at line 57 of file DiscreteFactorGraph.h.

◆ FactorType

Type of factors in factor graph.

Definition at line 56 of file DiscreteFactorGraph.h.

◆ JunctionTreeType

Type of Junction tree

Definition at line 62 of file DiscreteFactorGraph.h.

Member Function Documentation

◆ DefaultEliminate()

static std::pair<std::shared_ptr<ConditionalType>, std::shared_ptr<FactorType> > gtsam::EliminationTraits< DiscreteFactorGraph >::DefaultEliminate ( const FactorGraphType factors,
const Ordering keys 
)
inlinestatic

The default dense elimination function.

Definition at line 66 of file DiscreteFactorGraph.h.

◆ DefaultOrderingFunc()

static Ordering gtsam::EliminationTraits< DiscreteFactorGraph >::DefaultOrderingFunc ( const FactorGraphType graph,
std::optional< std::reference_wrapper< const VariableIndex >>  variableIndex 
)
inlinestatic

The default ordering generation function.

Definition at line 70 of file DiscreteFactorGraph.h.


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


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