GTSAM  4.0.2
C++ library for smoothing and mapping (SAM)
Public Member Functions | List of all members
gtsam::Scatter Class Reference

#include <Scatter.h>

Inheritance diagram for gtsam::Scatter:
Inheritance graph
[legend]
Collaboration diagram for gtsam::Scatter:
Collaboration graph
[legend]

Public Member Functions

GTSAM_EXPORT Scatter ()
 Default Constructor.
 
GTSAM_EXPORT Scatter (const GaussianFactorGraph &gfg)
 Construct from gaussian factor graph, without ordering.
 
GTSAM_EXPORT Scatter (const GaussianFactorGraph &gfg, const Ordering &ordering)
 Construct from gaussian factor graph, with (partial or complete) ordering.
 
GTSAM_EXPORT void add (Key key, size_t dim)
 Add a key/dim pair.
 

Detailed Description

Scatter is an intermediate data structure used when building a HessianFactor incrementally, to get the keys in the right order. In spirit, it is a map from global variable indices to slot indices in the union of involved variables. We also include the dimensionality of the variable.


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