gtsam  4.0.0
gtsam::DiscreteKeys Struct Reference

Detailed Description

DiscreteKeys is a set of keys that can be assembled using the & operator.

+ Inheritance diagram for gtsam::DiscreteKeys:

Public Member Functions

 DiscreteKeys ()
 Default constructor.
 DiscreteKeys (const DiscreteKey &key)
 Construct from a key.
 DiscreteKeys (const std::vector< DiscreteKey > &keys)
 Construct from a vector of keys.
GTSAM_EXPORT DiscreteKeys (const std::vector< int > &cs)
 Construct from cardinalities with default names.
GTSAM_EXPORT KeyVector indices () const
 Return a vector of indices.
GTSAM_EXPORT std::map< Key, size_t > cardinalities () const
 Return a map from index to cardinality.
DiscreteKeysoperator & (const DiscreteKey &key)
 Add a key (non-const!)

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