GTSAM  4.0.2
C++ library for smoothing and mapping (SAM)
Classes | Public Types | Public Member Functions | Protected Attributes | List of all members
gtsam::NonlinearClusterTree Class Reference
Inheritance diagram for gtsam::NonlinearClusterTree:
Inheritance graph
[legend]
Collaboration diagram for gtsam::NonlinearClusterTree:
Collaboration graph
[legend]

Classes

struct  NonlinearCluster
 

Public Types

typedef NonlinearFactorGraph FactorGraphType
 The factor graph type.
 
typedef ClusterTree< NonlinearFactorGraphThis
 This class.
 
typedef std::shared_ptr< Thisshared_ptr
 Shared pointer to this class.
 
typedef NonlinearFactorGraph ::FactorType FactorType
 The type of factors.
 
typedef std::shared_ptr< FactorTypesharedFactor
 Shared pointer to a factor.
 
typedef std::shared_ptr< Cluster > sharedCluster
 Shared pointer to Cluster.
 
typedef Cluster Node
 
typedef sharedCluster sharedNode
 

Public Member Functions

Values updateCholesky (const Values &values)
 
Testable
void print (const std::string &s="", const KeyFormatter &keyFormatter=DefaultKeyFormatter) const
 
Advanced Interface
void addRoot (const std::shared_ptr< Cluster > &cluster)
 
void addChildrenAsRoots (const std::shared_ptr< Cluster > &cluster)
 
size_t nrRoots () const
 
const FastVector< sharedNode > & roots () const
 
const Cluster & operator[] (size_t i) const
 

Protected Attributes

FastVector< sharedNode > roots_
 

Member Function Documentation

◆ print()

void gtsam::ClusterTree< NonlinearFactorGraph >::print ( const std::string &  s = "",
const KeyFormatter keyFormatter = DefaultKeyFormatter 
) const
inherited

Print the cluster tree

◆ roots()

const FastVector<sharedNode>& gtsam::ClusterTree< NonlinearFactorGraph >::roots ( ) const
inlineinherited

Return the set of roots (one for a tree, multiple for a forest)

Member Data Documentation

◆ roots_

FastVector<sharedNode> gtsam::ClusterTree< NonlinearFactorGraph >::roots_
protectedinherited

concept check


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