Go to the documentation of this file.
22 #ifdef GTSAM_ENABLE_BOOST_SERIALIZATION
23 #include <boost/serialization/nvp.hpp>
24 #include <boost/serialization/map.hpp>
38 template<
typename KEY,
typename VALUE>
39 class FastMap :
public std::map<KEY, VALUE, std::less<KEY>,
40 typename internal::FastDefaultAllocator<std::pair<const KEY, VALUE> >::type> {
44 typedef std::map<KEY, VALUE, std::less<KEY>,
51 template<
typename INPUTITERATOR>
61 operator std::map<KEY,VALUE>()
const {
62 return std::map<KEY,VALUE>(this->begin(), this->
end());
72 #ifdef GTSAM_ENABLE_BOOST_SERIALIZATION
74 friend class boost::serialization::access;
75 template<
class ARCHIVE>
76 void serialize(ARCHIVE & ar,
const unsigned int ) {
77 ar & BOOST_SERIALIZATION_BASE_OBJECT_NVP(
Base);
bool insert2(const KEY &key, const VALUE &val)
Array< double, 1, 3 > e(1./3., 0.5, 2.)
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy x
static const symbolic::SymbolExpr< internal::symbolic_last_tag > last
FastMap(const FastMap< KEY, VALUE > &x)
Default allocator for list, map, and set types.
bool exists(const KEY &e) const
FastMap(INPUTITERATOR first, INPUTITERATOR last)
const gtsam::Symbol key('X', 0)
std::map< KEY, VALUE, std::less< KEY >, typename internal::FastDefaultAllocator< std::pair< const KEY, VALUE > >::type > Base
An easy way to control which allocator is used for Fast* collections.
static const EIGEN_DEPRECATED end_t end
gtsam
Author(s):
autogenerated on Thu Dec 19 2024 04:01:07