24#include <gtsam/dllexport.h>
32struct GTSAM_EXPORT SlotEntry {
35 SlotEntry(
Key _key,
size_t _dimension) : key(_key), dimension(_dimension) {}
36 std::string toString()
const;
37 friend bool operator<(
const SlotEntry& p,
const SlotEntry& q) {
40 static bool Zero(
const SlotEntry& p) {
return p.dimension==0;}
61 GTSAM_EXPORT
void add(
Key key,
size_t dim);
65 iterator find(
Key key);
A thin wrapper around std::map that uses boost's fast_pool_allocator.
std::vector< T, typename internal::FastDefaultVectorAllocator< T >::type > FastVector
FastVector is a type alias to a std::vector with a custom memory allocator.
Definition FastVector.h:33
Global functions in a separate testing namespace.
Definition chartTesting.h:28
std::uint64_t Key
Integer nonlinear key type.
Definition types.h:100
A Linear Factor Graph is a factor graph where all factors are Gaussian, i.e.
Definition GaussianFactorGraph.h:75
GTSAM_EXPORT void add(Key key, size_t dim)
Add a key/dim pair.
Definition Scatter.cpp:76
GTSAM_EXPORT Scatter()
Default Constructor.
Definition Scatter.h:52