25 #include <unordered_map> 32 using SharedFactor = std::shared_ptr<Factor>;
59 template <
class DERIVEDFACTOR>
std::set< DiscreteKey > discreteKeys() const
Get all the discrete keys in the factor graph.
KeySet discreteKeySet() const
Get all the discrete keys in the factor graph, as a set.
Definition: BayesTree.h:34
HybridFactorGraph()=default
Default constructor.
std::unordered_map< Key, DiscreteKey > discreteKeyMap() const
Get a map from Key to corresponding DiscreteKey.
const KeySet continuousKeySet() const
Get all the continuous keys in the factor graph.
std::shared_ptr< This > shared_ptr
shared_ptr to This
Definition: HybridFactorGraph.h:42
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
HybridFactorGraph(const FactorGraph< DERIVEDFACTOR > &graph)
Definition: HybridFactorGraph.h:60