Fixed obsolete comments

release/4.3a0
dellaert 2019-05-16 21:06:09 -04:00
parent 0a2e533aac
commit 07faa3961f
5 changed files with 24 additions and 15 deletions

View File

@ -105,9 +105,9 @@ public:
/** Virtual destructor */ /** Virtual destructor */
virtual ~DoglegOptimizer() {} virtual ~DoglegOptimizer() {}
/** Perform a single iteration, returning a new NonlinearOptimizer class /**
* containing the updated variable assignments, which may be retrieved with * Perform a single iteration, returning GaussianFactorGraph corresponding to
* values(). * the linearized factor graph.
*/ */
GaussianFactorGraph::shared_ptr iterate() override; GaussianFactorGraph::shared_ptr iterate() override;

View File

@ -70,9 +70,9 @@ public:
/** Virtual destructor */ /** Virtual destructor */
virtual ~GaussNewtonOptimizer() {} virtual ~GaussNewtonOptimizer() {}
/** Perform a single iteration, returning a new NonlinearOptimizer class /**
* containing the updated variable assignments, which may be retrieved with * Perform a single iteration, returning GaussianFactorGraph corresponding to
* values(). * the linearized factor graph.
*/ */
GaussianFactorGraph::shared_ptr iterate() override; GaussianFactorGraph::shared_ptr iterate() override;

View File

@ -94,9 +94,9 @@ public:
/// @name Advanced interface /// @name Advanced interface
/// @{ /// @{
/** Perform a single iteration, returning a new NonlinearOptimizer class /**
* containing the updated variable assignments, which may be retrieved with * Perform a single iteration, returning GaussianFactorGraph corresponding to
* values(). * the linearized factor graph.
*/ */
GaussianFactorGraph::shared_ptr iterate() override; GaussianFactorGraph::shared_ptr iterate() override;

View File

@ -70,7 +70,16 @@ public:
virtual ~NonlinearConjugateGradientOptimizer() { virtual ~NonlinearConjugateGradientOptimizer() {
} }
/**
* Perform a single iteration, returning GaussianFactorGraph corresponding to
* the linearized factor graph.
*/
GaussianFactorGraph::shared_ptr iterate() override; GaussianFactorGraph::shared_ptr iterate() override;
/**
* Optimize for the maximum-likelihood estimate, returning a the optimized
* variable assignments.
*/
const Values& optimize() override; const Values& optimize() override;
}; };

View File

@ -86,9 +86,9 @@ public:
/// @name Standard interface /// @name Standard interface
/// @{ /// @{
/** Optimize for the maximum-likelihood estimate, returning a new /**
* NonlinearOptimizer class containing the optimized variable assignments, * Optimize for the maximum-likelihood estimate, returning a the optimized
* which may be retrieved with values(). * variable assignments.
* *
* This function simply calls iterate() in a loop, checking for convergence * This function simply calls iterate() in a loop, checking for convergence
* with check_convergence(). For fine-grain control over the optimization * with check_convergence(). For fine-grain control over the optimization
@ -126,9 +126,9 @@ public:
virtual VectorValues solve(const GaussianFactorGraph &gfg, virtual VectorValues solve(const GaussianFactorGraph &gfg,
const NonlinearOptimizerParams& params) const; const NonlinearOptimizerParams& params) const;
/** Perform a single iteration, returning a new NonlinearOptimizer class /**
* containing the updated variable assignments, which may be retrieved with * Perform a single iteration, returning GaussianFactorGraph corresponding to
* values(). * the linearized factor graph.
*/ */
virtual GaussianFactorGraph::shared_ptr iterate() = 0; virtual GaussianFactorGraph::shared_ptr iterate() = 0;