Classes | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
gtsam::NonlinearConjugateGradientOptimizer Class Reference

#include <NonlinearConjugateGradientOptimizer.h>

Inheritance diagram for gtsam::NonlinearConjugateGradientOptimizer:
Inheritance graph
[legend]

Classes

class  System
 

Public Types

typedef NonlinearOptimizer Base
 
typedef NonlinearOptimizerParams Parameters
 
typedef boost::shared_ptr< NonlinearConjugateGradientOptimizershared_ptr
 
- Public Types inherited from gtsam::NonlinearOptimizer
using shared_ptr = boost::shared_ptr< const NonlinearOptimizer >
 

Public Member Functions

GaussianFactorGraph::shared_ptr iterate () override
 
 NonlinearConjugateGradientOptimizer (const NonlinearFactorGraph &graph, const Values &initialValues, const Parameters &params=Parameters())
 Constructor. More...
 
const Valuesoptimize () override
 
 ~NonlinearConjugateGradientOptimizer () override
 Destructor. More...
 
- Public Member Functions inherited from gtsam::NonlinearOptimizer
const ValuesoptimizeSafely ()
 
double error () const
 return error in current optimizer state More...
 
size_t iterations () const
 return number of iterations in current optimizer state More...
 
const Valuesvalues () const
 return values in current optimizer state More...
 
const NonlinearFactorGraphgraph () const
 return the graph with nonlinear factors More...
 
virtual ~NonlinearOptimizer ()
 
virtual VectorValues solve (const GaussianFactorGraph &gfg, const NonlinearOptimizerParams &params) const
 

Protected Member Functions

const NonlinearOptimizerParams_params () const override
 
- Protected Member Functions inherited from gtsam::NonlinearOptimizer
void defaultOptimize ()
 
 NonlinearOptimizer (const NonlinearFactorGraph &graph, std::unique_ptr< internal::NonlinearOptimizerState > state)
 

Protected Attributes

Parameters params_
 
- Protected Attributes inherited from gtsam::NonlinearOptimizer
NonlinearFactorGraph graph_
 The graph with nonlinear factors. More...
 
std::unique_ptr< internal::NonlinearOptimizerStatestate_
 PIMPL'd state. More...
 

Detailed Description

An implementation of the nonlinear CG method using the template below

Definition at line 28 of file NonlinearConjugateGradientOptimizer.h.

Member Typedef Documentation

Definition at line 52 of file NonlinearConjugateGradientOptimizer.h.

Definition at line 53 of file NonlinearConjugateGradientOptimizer.h.

Definition at line 54 of file NonlinearConjugateGradientOptimizer.h.

Constructor & Destructor Documentation

gtsam::NonlinearConjugateGradientOptimizer::NonlinearConjugateGradientOptimizer ( const NonlinearFactorGraph graph,
const Values initialValues,
const Parameters params = Parameters() 
)

Constructor.

Definition at line 44 of file NonlinearConjugateGradientOptimizer.cpp.

gtsam::NonlinearConjugateGradientOptimizer::~NonlinearConjugateGradientOptimizer ( )
inlineoverride

Destructor.

Definition at line 70 of file NonlinearConjugateGradientOptimizer.h.

Member Function Documentation

const NonlinearOptimizerParams& gtsam::NonlinearConjugateGradientOptimizer::_params ( ) const
inlineoverrideprotectedvirtual

Implements gtsam::NonlinearOptimizer.

Definition at line 59 of file NonlinearConjugateGradientOptimizer.h.

GaussianFactorGraph::shared_ptr gtsam::NonlinearConjugateGradientOptimizer::iterate ( void  )
overridevirtual

Perform a single iteration, returning GaussianFactorGraph corresponding to the linearized factor graph.

Implements gtsam::NonlinearOptimizer.

Definition at line 65 of file NonlinearConjugateGradientOptimizer.cpp.

const Values & gtsam::NonlinearConjugateGradientOptimizer::optimize ( )
overridevirtual

Optimize for the maximum-likelihood estimate, returning a the optimized variable assignments.

Reimplemented from gtsam::NonlinearOptimizer.

Definition at line 76 of file NonlinearConjugateGradientOptimizer.cpp.

Member Data Documentation

Parameters gtsam::NonlinearConjugateGradientOptimizer::params_
protected

Definition at line 57 of file NonlinearConjugateGradientOptimizer.h.


The documentation for this class was generated from the following files:


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:58:18