25 #include <unordered_map> 59 template <
class DERIVEDFACTOR>
KeySet discreteKeySet() const
Get all the discrete keys in the factor graph, as a set.
std::set< DiscreteKey > discreteKeys() const
Get all the discrete keys in the factor graph.
NonlinearFactorGraph graph
HybridFactorGraph()=default
Default constructor.
std::unordered_map< Key, DiscreteKey > discreteKeyMap() const
Get a map from Key to corresponding DiscreteKey.
std::shared_ptr< Factor > SharedFactor
const KeySet continuousKeySet() const
Get all the continuous keys in the factor graph.
std::shared_ptr< This > shared_ptr
shared_ptr to This
std::vector< float > Values
HybridFactorGraph(const FactorGraph< DERIVEDFACTOR > &graph)
FastVector< Key > KeyVector
Define collection type once and for all - also used in wrappers.