A Levenberg-Marquardt Batch Smoother that implements the Concurrent Filtering and Smoother interface.
|
|
| ConcurrentIncrementalSmoother (const ISAM2Params ¶meters=ISAM2Params()) |
| | Default constructor.
|
| |
|
| ~ConcurrentIncrementalSmoother () override |
| | Default destructor.
|
| |
| void | print (const std::string &s="Concurrent Incremental Smoother:\n", const KeyFormatter &keyFormatter=DefaultKeyFormatter) const override |
| | Implement a GTSAM standard 'print' function. More...
|
| |
| bool | equals (const ConcurrentSmoother &rhs, double tol=1e-9) const override |
| | Check if two Concurrent Smoothers are equal. More...
|
| |
|
const NonlinearFactorGraph & | getFactors () const |
| | Access the current set of factors.
|
| |
|
const Values & | getLinearizationPoint () const |
| | Access the current linearization point.
|
| |
|
const VectorValues & | getDelta () const |
| | Access the current set of deltas to the linearization point.
|
| |
| Values | calculateEstimate () const |
| | Compute the current best estimate of all variables and return a full Values structure. More...
|
| |
| template<class VALUE > |
| VALUE | calculateEstimate (Key key) const |
| | Compute the current best estimate of a single variable. More...
|
| |
| Result | update (const NonlinearFactorGraph &newFactors=NonlinearFactorGraph(), const Values &newTheta=Values(), const boost::optional< FactorIndices > &removeFactorIndices=boost::none) |
| | Add new factors and variables to the smoother. More...
|
| |
| void | presync () override |
| | Perform any required operations before the synchronization process starts. More...
|
| |
| void | getSummarizedFactors (NonlinearFactorGraph &summarizedFactors, Values &separatorValues) override |
| | Populate the provided containers with factors that constitute the smoother branch summarization needed by the filter. More...
|
| |
| void | synchronize (const NonlinearFactorGraph &smootherFactors, const Values &smootherValues, const NonlinearFactorGraph &summarizedFactors, const Values &separatorValues) override |
| | Apply the new smoother factors sent by the filter, and the updated version of the filter branch summarized factors. More...
|
| |
| void | postsync () override |
| | Perform any required operations after the synchronization process finishes. More...
|
| |
|
| 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. More...
|
| |
| virtual bool | equals (const ConcurrentSmoother &rhs, double tol=1e-9) const =0 |
| | Check if two Concurrent Smoothers are equal. More...
|
| |
| 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...
|
| |
|
|
ISAM2 | isam2_ |
| | iSAM2 inference engine
|
| |
|
NonlinearFactorGraph | smootherFactors_ |
| | New factors to be added to the smoother during the next update.
|
| |
|
Values | smootherValues_ |
| | New variables to be added to the smoother during the next update.
|
| |
|
NonlinearFactorGraph | filterSummarizationFactors_ |
| | New filter summarization factors to replace the existing filter summarization during the next update.
|
| |
|
Values | separatorValues_ |
| | The linearization points of the separator variables. These should not be changed during optimization.
|
| |
|
FactorIndices | filterSummarizationSlots_ |
| | The slots in factor graph that correspond to the current filter summarization factors.
|
| |
|
bool | synchronizationUpdatesAvailable_ |
| | Flag indicating the currently stored synchronization updates have not been applied yet.
|
| |
|
NonlinearFactorGraph | smootherSummarization_ |
| | A temporary holding place for calculated smoother summarization.
|
| |