gtsam
4.0.0
gtsam
|
The interface for the 'Smoother' portion of the Concurrent Filtering and Smoother architecture.
Public Member Functions | |
ConcurrentSmoother () | |
Default constructor. | |
virtual | ~ConcurrentSmoother () |
Default destructor. | |
virtual void | print (const std::string &s="Concurrent Smoother:\n", const KeyFormatter &keyFormatter=DefaultKeyFormatter) const =0 |
Implement a standard 'print' function. | |
virtual bool | equals (const ConcurrentSmoother &rhs, double tol=1e-9) const =0 |
Check if two Concurrent Smoothers are equal. | |
virtual void | presync () |
Perform any required operations before the synchronization process starts. More... | |
virtual void | getSummarizedFactors (NonlinearFactorGraph &summarizedFactors, Values &separatorValues)=0 |
Populate the provided containers with factors that constitute the smoother branch summarization needed by the filter. More... | |
virtual void | synchronize (const NonlinearFactorGraph &smootherFactors, const Values &smootherValues, const NonlinearFactorGraph &summarizedFactors, const Values &rootValues)=0 |
Apply the new smoother factors sent by the filter, and the updated version of the filter branch summarized factors. More... | |
virtual void | postsync () |
Perform any required operations after the synchronization process finishes. More... | |
Public Types | |
typedef boost::shared_ptr< ConcurrentSmoother > | shared_ptr |
|
pure virtual |
Populate the provided containers with factors that constitute the smoother branch summarization needed by the filter.
summarizedFactors | The summarized factors for the filter branch |
separatorValues | The linearization points of the separator variables |
Implemented in gtsam::ConcurrentBatchSmoother, and gtsam::ConcurrentIncrementalSmoother.
|
inlinevirtual |
Perform any required operations after the synchronization process finishes.
Called by 'synchronize'
Reimplemented in gtsam::ConcurrentBatchSmoother, and gtsam::ConcurrentIncrementalSmoother.
|
inlinevirtual |
Perform any required operations before the synchronization process starts.
Called by 'synchronize'
Reimplemented in gtsam::ConcurrentBatchSmoother, and gtsam::ConcurrentIncrementalSmoother.
|
pure virtual |
Apply the new smoother factors sent by the filter, and the updated version of the filter branch summarized factors.
smootherFactors | A set of new factors added to the smoother from the filter |
smootherValues | Linearization points for any new variables |
summarizedFactors | An updated version of the filter branch summarized factors |
rootValues | The linearization point of the root variables |
Implemented in gtsam::ConcurrentBatchSmoother, and gtsam::ConcurrentIncrementalSmoother.