|
gtsam
|
Instantiation of Graduated Factor wrapping any Nonlinear Factor.
Public Member Functions | |
Factor Interface | |
| template<class... Args> | |
| GenericGraduatedFactor (RobustLoss::shared_ptr loss, GraduationScheduler::shared_ptr scheduler, Args &&... args) | |
| Constructor. | |
| GenericGraduatedFactor (const GenericGraduatedFactor< FACTOR_TYPE > &other) | |
| Copy Constructor Delegates to GraduatedFactor's copy constructor so the copy preserves the current graduation progress (mu) rather than resetting it to muInit. | |
| NonlinearFactor::shared_ptr | clone () const override |
| Makes a deep copy of the factor. | |
| GaussianFactor::shared_ptr | linearizeGraduated (const Values ¤tEstimate) const override |
| Linearizes the factor using the current value of mu. | |
| GaussianFactor::shared_ptr | linearize (const Values ¤tEstimate) const override |
| Linearize the System. | |
| double | error (const Values &values) const override |
| Returns the graduated robust loss \rho_\mu(r). | |
Graduated Interface | |
| double | residual (const Values ¤tEstimate) const override |
| returns the residual of the factor | |
| double | robustLoss (const Values ¤tEstimate) const override |
| See GraduatedFactor::robustLoss. | |
| NonlinearFactor::shared_ptr | cloneUngraduated () const override |
| See GraduatedFactor::cloneUngraduated. | |
| Public Member Functions inherited from gtsam::GraduatedFactor | |
| GraduatedFactor (RobustLoss::shared_ptr loss, GraduationScheduler::shared_ptr scheduler) | |
| Constructor. | |
| GraduatedFactor (const GraduatedFactor &other) | |
| Copy constructor. | |
| const RobustLoss::shared_ptr & | loss () const |
| Returns the robust loss for this graduated factor. | |
| const GraduationScheduler::shared_ptr & | scheduler () const |
| Returns the graduation scheduler for this factor. | |
Public Types | |
Types | |
| typedef std::shared_ptr< GenericGraduatedFactor< FACTOR_TYPE > > | shared_ptr |
| Public Types inherited from gtsam::GraduatedFactor | |
| typedef std::shared_ptr< GraduatedFactor > | shared_ptr |
| typedef noiseModel::mEstimator::Base | RobustLoss |
Additional Inherited Members | |
| Protected Attributes inherited from gtsam::GraduatedFactor | |
| RobustLoss::shared_ptr | robustLoss_ |
| The robust loss for this factor. | |
| GraduationScheduler::shared_ptr | scheduler_ |
| The control param ($\mu$) scheduler for this factor. | |
| std::shared_ptr< double > | mu_ |
| The unique mu control parameter for this factor. | |
|
inline |
|
inlineoverridevirtual |
See GraduatedFactor::cloneUngraduated.
Implements gtsam::GraduatedFactor.
|
inlineoverride |
Linearize the System.
|
inlineoverridevirtual |
Linearizes the factor using the current value of mu.
Implements gtsam::GraduatedFactor.
|
inlineoverridevirtual |
returns the residual of the factor
Implements gtsam::GraduatedFactor.
|
inlineoverridevirtual |
See GraduatedFactor::robustLoss.
Implements gtsam::GraduatedFactor.