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

#include <ConcurrentFilteringAndSmoothing.h>

Inheritance diagram for gtsam::ConcurrentSmoother:
Inheritance graph
[legend]

Public Types

typedef std::shared_ptr< ConcurrentSmoothershared_ptr
 

Public Member Functions

 ConcurrentSmoother ()
 
virtual ~ConcurrentSmoother ()
 
virtual void print (const std::string &s="Concurrent Smoother:\, const KeyFormatter &keyFormatter=DefaultKeyFormatter) const=0
 
virtual bool equals (const ConcurrentSmoother &rhs, double tol=1e-9) const =0
 
virtual void presync ()
 
virtual void getSummarizedFactors (NonlinearFactorGraph &summarizedFactors, Values &separatorValues)=0
 
virtual void synchronize (const NonlinearFactorGraph &smootherFactors, const Values &smootherValues, const NonlinearFactorGraph &summarizedFactors, const Values &rootValues)=0
 
virtual void postsync ()
 

Detailed Description

The interface for the 'Smoother' portion of the Concurrent Filtering and Smoother architecture.

Constructor & Destructor Documentation

◆ ConcurrentSmoother()

gtsam::ConcurrentSmoother::ConcurrentSmoother ( )
inline

Default constructor

◆ ~ConcurrentSmoother()

virtual gtsam::ConcurrentSmoother::~ConcurrentSmoother ( )
inlinevirtual

Default destructor

Member Function Documentation

◆ equals()

virtual bool gtsam::ConcurrentSmoother::equals ( const ConcurrentSmoother rhs,
double  tol = 1e-9 
) const
pure virtual

Check if two Concurrent Smoothers are equal

Implemented in gtsam::ConcurrentBatchSmoother, and gtsam::ConcurrentIncrementalSmoother.

◆ getSummarizedFactors()

virtual void gtsam::ConcurrentSmoother::getSummarizedFactors ( NonlinearFactorGraph summarizedFactors,
Values separatorValues 
)
pure virtual

Populate the provided containers with factors that constitute the smoother branch summarization needed by the filter.

Parameters
summarizedFactorsThe summarized factors for the filter branch
separatorValuesThe linearization points of the separator variables

Implemented in gtsam::ConcurrentBatchSmoother, and gtsam::ConcurrentIncrementalSmoother.

◆ postsync()

virtual void gtsam::ConcurrentSmoother::postsync ( )
inlinevirtual

Perform any required operations after the synchronization process finishes. Called by 'synchronize'

Reimplemented in gtsam::ConcurrentBatchSmoother, and gtsam::ConcurrentIncrementalSmoother.

◆ presync()

virtual void gtsam::ConcurrentSmoother::presync ( )
inlinevirtual

Perform any required operations before the synchronization process starts. Called by 'synchronize'

Reimplemented in gtsam::ConcurrentBatchSmoother, and gtsam::ConcurrentIncrementalSmoother.

◆ print()

virtual void gtsam::ConcurrentSmoother::print ( )
pure virtual

Implement a standard 'print' function

Implemented in gtsam::ConcurrentBatchSmoother, and gtsam::ConcurrentIncrementalSmoother.

◆ synchronize()

virtual void gtsam::ConcurrentSmoother::synchronize ( const NonlinearFactorGraph smootherFactors,
const Values smootherValues,
const NonlinearFactorGraph summarizedFactors,
const Values rootValues 
)
pure virtual

Apply the new smoother factors sent by the filter, and the updated version of the filter branch summarized factors.

Parameters
smootherFactorsA set of new factors added to the smoother from the filter
smootherValuesLinearization points for any new variables
summarizedFactorsAn updated version of the filter branch summarized factors
rootValuesThe linearization point of the root variables

Implemented in gtsam::ConcurrentBatchSmoother, and gtsam::ConcurrentIncrementalSmoother.


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