gtsam  3.2.1
gtsam
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
gtsam::Scatter Class Reference

Detailed Description

Scatter is an intermediate data structure used when building a HessianFactor incrementally, to get the keys in the right order.

The "scatter" is a map from global variable indices to slot indices in the union of involved variables. We also include the dimensionality of the variable.

+ Inheritance diagram for gtsam::Scatter:

Public Member Functions

 Scatter (const GaussianFactorGraph &gfg, boost::optional< const Ordering & > ordering=boost::none)
 
- Public Member Functions inherited from gtsam::FastMap< Key, SlotEntry >
 FastMap ()
 Default constructor.
 
 FastMap (INPUTITERATOR first, INPUTITERATOR last)
 Constructor from a range, passes through to base class.
 
 FastMap (const FastMap< Key, SlotEntry > &x)
 Copy constructor from another FastMap.
 
 FastMap (const Base &x)
 Copy constructor from the base map class.
 
 operator std::map< Key, SlotEntry > () const
 Conversion to a standard STL container.
 
bool insert2 (const Key &key, const SlotEntry &val)
 Handy 'insert' function for Matlab wrapper.
 
bool exists (const Key &e) const
 Handy 'exists' function.
 

Additional Inherited Members

- Public Types inherited from gtsam::FastMap< Key, SlotEntry >
typedef std::map< Key,
SlotEntry, std::less< Key >
, typename
internal::FastDefaultAllocator
< std::pair< const Key,
SlotEntry > >::type > 
Base
 

The documentation for this class was generated from the following files: