|
gtsam
|
Graduated Factor for riSAM base class.
Public Member Functions | |
Public Interface | |
| GraduatedFactor (RobustLoss::shared_ptr loss, GraduationScheduler::shared_ptr scheduler) | |
| Constructor. | |
| GraduatedFactor (const GraduatedFactor &other) | |
| Copy constructor. | |
| virtual GaussianFactor::shared_ptr | linearizeGraduated (const Values ¤tEstimate) const =0 |
| Linearize this factor using the convexification parameter mu. | |
| virtual double | residual (const Values ¤tEstimate) const =0 |
| returns the residual of the factor | |
| virtual double | robustLoss (const Values ¤tEstimate) const =0 |
| returns the graduated robust loss \rho_\mu(r) of the factor | |
| 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. | |
| virtual NonlinearFactor::shared_ptr | cloneUngraduated () const =0 |
| Copies this factor as an instance of its base type without the graduated robust loss or scheduler. | |
Public Types | |
Types | |
| typedef std::shared_ptr< GraduatedFactor > | shared_ptr |
| typedef noiseModel::mEstimator::Base | RobustLoss |
Protected Attributes | |
Fields | |
| 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. | |
Friends | |
| class | RISAM |
| Befriend RISAM to give access to these protected values. | |
|
inline |
|
pure virtual |
Copies this factor as an instance of its base type without the graduated robust loss or scheduler.
Implemented in gtsam::GenericGraduatedFactor< FACTOR_TYPE >.
|
pure virtual |
Linearize this factor using the convexification parameter mu.
| currentEstimate | the estimate at which to linearize the factor |
Implemented in gtsam::GenericGraduatedFactor< FACTOR_TYPE >.
|
pure virtual |
returns the residual of the factor
Implemented in gtsam::GenericGraduatedFactor< FACTOR_TYPE >.
|
pure virtual |
returns the graduated robust loss \rho_\mu(r) of the factor
Implemented in gtsam::GenericGraduatedFactor< FACTOR_TYPE >.