#include <FastSet.h>
Public Types | |
typedef std::set< VALUE, std::less< VALUE >, typename internal::FastDefaultAllocator< VALUE >::type > | Base |
Public Member Functions | |
bool | equals (const FastSet< VALUE > &other, double tol=1e-9) const |
bool | exists (const VALUE &e) const |
FastSet ()=default | |
Default constructor. More... | |
template<typename INPUTCONTAINER > | |
FastSet (const INPUTCONTAINER &container) | |
FastSet (const FastSet< VALUE > &x) | |
FastSet (const Base &x) | |
void | merge (const FastSet &other) |
operator std::set< VALUE > () const | |
void | print (const std::string &str="") const |
Private Member Functions | |
GTSAM_CONCEPT_ASSERT (IsTestable< VALUE >) | |
FastSet is a thin wrapper around std::set that uses the boost fast_pool_allocator instead of the default STL allocator. This is just a convenience to avoid having lengthy types in the code. Through timing, we've seen that the fast_pool_allocator can lead to speedups of several %.
typedef std::set<VALUE, std::less<VALUE>, typename internal::FastDefaultAllocator<VALUE>::type> gtsam::FastSet< VALUE >::Base |
|
default |
Default constructor.
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
inline |
|
inline |
|
inline |