Classes | Namespaces | Functions
testNonlinearConjugateGradientOptimizer.cpp File Reference

Test nonlinear CG optimizer. More...

#include <CppUnitLite/TestHarness.h>
#include <gtsam/geometry/Pose2.h>
#include <gtsam/inference/Symbol.h>
#include <gtsam/nonlinear/NonlinearConjugateGradientOptimizer.h>
#include <gtsam/nonlinear/NonlinearFactorGraph.h>
#include <gtsam/nonlinear/PriorFactor.h>
#include <gtsam/nonlinear/Values.h>
#include <gtsam/nonlinear/factorTesting.h>
#include <gtsam/slam/BetweenFactor.h>
Include dependency graph for testNonlinearConjugateGradientOptimizer.cpp:

Go to the source code of this file.

Classes

class  rosenbrock::Rosenbrock1Factor
 
class  rosenbrock::Rosenbrock2Factor
 Factor for the second term of the Rosenbrock function. f2 = (y - x*x) More...
 

Namespaces

 rosenbrock
 

Functions

double rosenbrock::f (const NonlinearFactorGraph &graph, double x, double y)
 
std::tuple< NonlinearFactorGraph, ValuesgenerateProblem ()
 
static NonlinearFactorGraph rosenbrock::GetRosenbrockGraph (double a=1.0, double b=100.0)
 Get a nonlinear factor graph representing the Rosenbrock Banana function. More...
 
int main ()
 
double rosenbrock::rosenbrock_func (double x, double y, double a=1.0, double b=100.0)
 True Rosenbrock Banana function. More...
 
 TEST (NonlinearConjugateGradientOptimizer, DirectionMethods)
 Test different direction methods. More...
 
 TEST (NonlinearConjugateGradientOptimizer, Optimization)
 
 TEST (NonlinearConjugateGradientOptimizer, Optimize)
 
 TEST (NonlinearConjugateGradientOptimizer, Rosenbrock)
 

Detailed Description

Test nonlinear CG optimizer.

Author
Yong-Dian Jian
Varun Agrawal
Date
June 11, 2012

Definition in file testNonlinearConjugateGradientOptimizer.cpp.

Function Documentation

◆ generateProblem()

std::tuple<NonlinearFactorGraph, Values> generateProblem ( )

Definition at line 26 of file testNonlinearConjugateGradientOptimizer.cpp.

◆ main()

int main ( )

Definition at line 286 of file testNonlinearConjugateGradientOptimizer.cpp.

◆ TEST() [1/4]

TEST ( NonlinearConjugateGradientOptimizer  ,
DirectionMethods   
)

Test different direction methods.

Definition at line 244 of file testNonlinearConjugateGradientOptimizer.cpp.

◆ TEST() [2/4]

TEST ( NonlinearConjugateGradientOptimizer  ,
Optimization   
)

Definition at line 206 of file testNonlinearConjugateGradientOptimizer.cpp.

◆ TEST() [3/4]

TEST ( NonlinearConjugateGradientOptimizer  ,
Optimize   
)

Definition at line 72 of file testNonlinearConjugateGradientOptimizer.cpp.

◆ TEST() [4/4]

TEST ( NonlinearConjugateGradientOptimizer  ,
Rosenbrock   
)

Definition at line 179 of file testNonlinearConjugateGradientOptimizer.cpp.



gtsam
Author(s):
autogenerated on Fri Nov 1 2024 03:43:25