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

#include <IterativeSolver.h>

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

Public Types

typedef std::map< Key, KeyInfoEntryBase
 

Public Member Functions

 KeyInfo ()
 Default Constructor.
 
 KeyInfo (const GaussianFactorGraph &fg)
 Construct from Gaussian factor graph, use "Natural" ordering.
 
 KeyInfo (const GaussianFactorGraph &fg, const Ordering &ordering)
 Construct from Gaussian factor graph and a given ordering.
 
size_t numCols () const
 Return the total number of columns (scalar variables = sum of dimensions)
 
const Orderingordering () const
 Return the ordering.
 
std::vector< size_t > colSpec () const
 Return a vector of dimensions ordered by ordering()
 
VectorValues x0 () const
 Return VectorValues with zeros, of correct dimension.
 
Vector x0vector () const
 Return zero Vector of correct dimension.
 

Protected Member Functions

void initialize (const GaussianFactorGraph &fg)
 

Protected Attributes

Ordering ordering_
 
size_t numCols_
 

Detailed Description

Handy data structure for iterative solvers


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