|
GTSAM
4.0.2
C++ library for smoothing and mapping (SAM)
|
#include <HybridNonlinearISAM.h>

Public Member Functions | |
Standard Constructors | |
| HybridNonlinearISAM (int reorderInterval=1, const HybridGaussianFactorGraph::Eliminate &eliminationFunction=HybridGaussianFactorGraph::EliminationTraitsType::DefaultEliminate) | |
Standard Interface | |
| Values | estimate () |
| const HybridGaussianISAM & | bayesTree () const |
| void | prune (const size_t maxNumberLeaves) |
| Prune the underlying Bayes tree. More... | |
| const Values & | getLinearizationPoint () const |
| const DiscreteValues & | assignment () const |
| const HybridNonlinearFactorGraph & | getFactorsUnsafe () const |
| int | reorderInterval () const |
| TODO: comment. More... | |
| int | reorderCounter () const |
| TODO: comment. | |
| void | print (const std::string &s="", const KeyFormatter &keyFormatter=DefaultKeyFormatter) const |
| void | printStats () const |
| void | saveGraph (const std::string &s, const KeyFormatter &keyFormatter=DefaultKeyFormatter) const |
Advanced Interface | |
| void | update (const HybridNonlinearFactorGraph &newFactors, const Values &initialValues, const std::optional< size_t > &maxNrLeaves={}, const std::optional< Ordering > &ordering={}) |
| void | reorder_relinearize () |
Protected Attributes | |
| gtsam::HybridGaussianISAM | isam_ |
| Values | linPoint_ |
| DiscreteValues | assignment_ |
| The discrete assignment. | |
| HybridNonlinearFactorGraph | factors_ |
| int | reorderInterval_ |
| int | reorderCounter_ |
| HybridGaussianFactorGraph::Eliminate | eliminationFunction_ |
Wrapper class to manage ISAM in a nonlinear context
|
inline |
Periodically reorder and relinearize
| reorderInterval | is the number of updates between reorderings, 0 never reorders (and is dangerous for memory consumption) 1 (default) reorders every time, in worse case is batch every update typical values are 50 or 100 |
|
inline |
Return the current discrete assignment
|
inline |
find the marginal covariance for a single variable access the underlying bayes tree
| Values gtsam::HybridNonlinearISAM::estimate | ( | ) |
Return the current solution estimate
|
inline |
get underlying nonlinear graph
|
inline |
Return the current linearization point
| void gtsam::HybridNonlinearISAM::print | ( | const std::string & | s = "", |
| const KeyFormatter & | keyFormatter = DefaultKeyFormatter |
||
| ) | const |
prints out all contents of the system
| void gtsam::HybridNonlinearISAM::printStats | ( | ) | const |
prints out clique statistics
|
inline |
Prune the underlying Bayes tree.
| maxNumberLeaves | The max number of leaf nodes to keep. |
| void gtsam::HybridNonlinearISAM::reorder_relinearize | ( | ) |
Relinearization and reordering of variables
|
inline |
TODO: comment.
get counters
| void gtsam::HybridNonlinearISAM::saveGraph | ( | const std::string & | s, |
| const KeyFormatter & | keyFormatter = DefaultKeyFormatter |
||
| ) | const |
saves the Tree to a text file in GraphViz format
| void gtsam::HybridNonlinearISAM::update | ( | const HybridNonlinearFactorGraph & | newFactors, |
| const Values & | initialValues, | ||
| const std::optional< size_t > & | maxNrLeaves = {}, |
||
| const std::optional< Ordering > & | ordering = {} |
||
| ) |
Add new factors along with their initial linearization points
|
protected |
The elimination function
|
protected |
The original factors, used when relinearizing
|
protected |
The internal iSAM object
|
protected |
The current linearization point
|
protected |
The reordering interval and counter
1.8.13