gtsam 4.1.1
gtsam
gtsam::PCGSolver Class Reference

Detailed Description

A virtual base class for the preconditioned conjugate gradient solver.

+ Inheritance diagram for gtsam::PCGSolver:

Public Member Functions

 PCGSolver (const PCGSolverParameters &p)
 
VectorValues optimize (const GaussianFactorGraph &gfg, const KeyInfo &keyInfo, const std::map< Key, Vector > &lambda, const VectorValues &initial) override
 
GTSAM_EXPORT VectorValues optimize (const GaussianFactorGraph &gfg, boost::optional< const KeyInfo & >=boost::none, boost::optional< const std::map< Key, Vector > & > lambda=boost::none)
 
GTSAM_EXPORT VectorValues optimize (const GaussianFactorGraph &gfg, const KeyInfo &keyInfo, const std::map< Key, Vector > &lambda)
 
virtual VectorValues optimize (const GaussianFactorGraph &gfg, const KeyInfo &keyInfo, const std::map< Key, Vector > &lambda, const VectorValues &initial)=0
 
- Public Member Functions inherited from gtsam::IterativeSolver
GTSAM_EXPORT VectorValues optimize (const GaussianFactorGraph &gfg, boost::optional< const KeyInfo & >=boost::none, boost::optional< const std::map< Key, Vector > & > lambda=boost::none)
 
GTSAM_EXPORT VectorValues optimize (const GaussianFactorGraph &gfg, const KeyInfo &keyInfo, const std::map< Key, Vector > &lambda)
 
virtual VectorValues optimize (const GaussianFactorGraph &gfg, const KeyInfo &keyInfo, const std::map< Key, Vector > &lambda, const VectorValues &initial)=0
 

Public Types

typedef IterativeSolver Base
 
typedef boost::shared_ptr< PCGSolvershared_ptr
 
- Public Types inherited from gtsam::IterativeSolver
typedef boost::shared_ptr< IterativeSolvershared_ptr
 

Protected Attributes

PCGSolverParameters parameters_
 
boost::shared_ptr< Preconditionerpreconditioner_
 

Member Function Documentation

◆ optimize() [1/2]

VectorValues gtsam::PCGSolver::optimize ( const GaussianFactorGraph gfg,
const KeyInfo keyInfo,
const std::map< Key, Vector > &  lambda,
const VectorValues initial 
)
overridevirtual

◆ optimize() [2/2]

virtual VectorValues gtsam::IterativeSolver::optimize ( const GaussianFactorGraph gfg,
const KeyInfo keyInfo,
const std::map< Key, Vector > &  lambda,
const VectorValues initial 
)
virtual

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