25#include <unordered_map>
32using SharedFactor = std::shared_ptr<Factor>;
59 template <
class DERIVEDFACTOR>
63 template <
class CONTAINER>
71 std::set<DiscreteKey> discreteKeys()
const;
74 KeySet discreteKeySet()
const;
77 const KeySet continuousKeySet()
const;
Global functions in a separate testing namespace.
Definition chartTesting.h:28
FastVector< Key > KeyVector
Define collection type once and for all - also used in wrappers.
Definition Key.h:91
Base class for discrete probabilistic factors The most general one is the derived DecisionTreeFactor.
Definition DiscreteFactor.h:41
HybridFactorGraph(const CONTAINER &factors)
Construct from container of factors (shared_ptr or plain objects).
Definition HybridFactorGraph.h:64
HybridFactorGraph(const FactorGraph< DERIVEDFACTOR > &graph)
Implicit copy/downcast constructor to override explicit template container constructor.
Definition HybridFactorGraph.h:60
HybridFactorGraph This
this class
Definition HybridFactorGraph.h:41
gtsam::Values Values
backwards compatibility
Definition HybridFactorGraph.h:44
std::shared_ptr< This > shared_ptr
shared_ptr to This
Definition HybridFactorGraph.h:42
HybridFactorGraph()=default
Default constructor.
FactorGraph()
Definition FactorGraph.h:103
A non-templated config holding any types of Manifold-group elements.
Definition Values.h:65