50 std::vector<DiscreteKey>(keys) {
DiscreteKeys()
Default constructor.
GTSAM_EXPORT KeyVector indices() const
Return a vector of indices.
DiscreteKeys & operator&(const DiscreteKey &key)
Add a key (non-const!)
Included from all GTSAM files.
const Symbol key1('v', 1)
FastVector< Key > KeyVector
Define collection type once and for all - also used in wrappers.
std::pair< Key, size_t > DiscreteKey
GTSAM_EXPORT std::map< Key, size_t > cardinalities() const
Return a map from index to cardinality.
DiscreteKeys(const std::vector< DiscreteKey > &keys)
Construct from a vector of keys.
const Symbol key2('v', 2)
DiscreteKeys(const DiscreteKey &key)
Construct from a key.
DiscreteKeys is a set of keys that can be assembled using the & operator.