Skip to content

Commit

Permalink
remove extra methods
Browse files Browse the repository at this point in the history
  • Loading branch information
varunagrawal committed Oct 16, 2024
1 parent 3fef6aa commit d883e16
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions gtsam/nonlinear/NonlinearConjugateGradientOptimizer.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,22 +74,6 @@ class GTSAM_EXPORT NonlinearConjugateGradientOptimizer
* variable assignments.
*/
const Values &optimize() override;

/** Implement the golden-section line search algorithm */
double lineSearch(const Values &currentValues,
const VectorValues &gradient) const;

/**
* Implement the nonlinear conjugate gradient method using the Polak-Ribiere
* formula suggested in
* http://en.wikipedia.org/wiki/Nonlinear_conjugate_gradient_method.
*
* The last parameter is a switch between gradient-descent and conjugate
* gradient
*/
std::tuple<Values, int> nonlinearConjugateGradient(
const Values &initial, const NonlinearOptimizerParams &params,
const bool singleIteration, const bool gradientDescent = false) const;
};

/** Implement the golden-section line search algorithm */
Expand Down

0 comments on commit d883e16

Please sign in to comment.