class mrpt::hmtslam::THypothesisIDSet¶
A set of hypothesis IDs, used for arcs and nodes in multi-hypothesis hybrid maps.
See also:
THypothesisID, CHierarchicalMHMap
#include <mrpt/hmtslam/HMT_SLAM_common.h> class THypothesisIDSet: public mrpt::serialization::CSerializable, public std::set< THypothesisID > { public: // fields K keys; // construction THypothesisIDSet(); THypothesisIDSet(const THypothesisID& val); // methods bool has(const THypothesisID& val) const; void debugDump() const; };
Construction¶
THypothesisIDSet()
Default constructor.
THypothesisIDSet(const THypothesisID& val)
Constructor with one initial element.
Methods¶
bool has(const THypothesisID& val) const
Returns true if the hypothesis is into the set.
void debugDump() const
Dump to console.