Class that contains the core optimization algorithm. More...
#include <treeoptimizer2.hh>
Public Types | |
typedef std::vector< Pose > | PoseVector |
Public Member Functions | |
double | error () const |
void | initializeOnlineOptimization () |
void | initializeOptimization () |
void | initializeTreeParameters () |
void | iterate (TreePoseGraph2::EdgeSet *eset=0) |
TreeOptimizer2 () | |
virtual | ~TreeOptimizer2 () |
Protected Member Functions | |
void | computePreconditioner () |
double | error (const Edge *e) const |
Pose | getPose (Vertex *v, Vertex *top) |
void | propagateErrors () |
void | updatePoseChain (Vertex *v, Vertex *top) |
Protected Attributes | |
double | gamma [3] |
int | iteration |
PoseVector | M |
Class that contains the core optimization algorithm.
Definition at line 52 of file treeoptimizer2.hh.
typedef std::vector<Pose> AISNavigation::TreeOptimizer2::PoseVector |
Definition at line 53 of file treeoptimizer2.hh.
Constructor
Definition at line 69 of file treeoptimizer2.cpp.
AISNavigation::TreeOptimizer2::~TreeOptimizer2 | ( | ) | [virtual] |
Destructor
Definition at line 74 of file treeoptimizer2.cpp.
void AISNavigation::TreeOptimizer2::computePreconditioner | ( | ) | [protected] |
The first of the two main steps of each iteration
Definition at line 107 of file treeoptimizer2.cpp.
double AISNavigation::TreeOptimizer2::error | ( | ) | const |
Conmputes the gloabl error of the network
Definition at line 360 of file treeoptimizer2.cpp.
double AISNavigation::TreeOptimizer2::error | ( | const Edge * | e | ) | const [protected] |
Conmputes the error of the constraint/edge e
Definition at line 315 of file treeoptimizer2.cpp.
TreeOptimizer2::Pose AISNavigation::TreeOptimizer2::getPose | ( | Vertex * | v, |
Vertex * | top | ||
) | [protected] |
Recomputes only the pose of the node v wrt. to an arbitraty parent (top) of v in the tree
Definition at line 299 of file treeoptimizer2.cpp.
Initialization function
Definition at line 98 of file treeoptimizer2.cpp.
Initialization function
Definition at line 82 of file treeoptimizer2.cpp.
Initialization function
Definition at line 77 of file treeoptimizer2.cpp.
void AISNavigation::TreeOptimizer2::iterate | ( | TreePoseGraph2::EdgeSet * | eset = 0 | ) |
Performs one iteration of the algorithm
Definition at line 278 of file treeoptimizer2.cpp.
void AISNavigation::TreeOptimizer2::propagateErrors | ( | ) | [protected] |
The second of the two main steps of each iteration
Definition at line 162 of file treeoptimizer2.cpp.
void AISNavigation::TreeOptimizer2::updatePoseChain | ( | Vertex * | v, |
Vertex * | top | ||
) | [protected] |
Recomputes the poses of all vertices from v to an arbitraty parent (top) of v in the tree
Definition at line 289 of file treeoptimizer2.cpp.
double AISNavigation::TreeOptimizer2::gamma[3] [protected] |
Used to compute the learning rate lambda
Definition at line 98 of file treeoptimizer2.hh.
int AISNavigation::TreeOptimizer2::iteration [protected] |
Iteration counter
Definition at line 95 of file treeoptimizer2.hh.
PoseVector AISNavigation::TreeOptimizer2::M [protected] |
The diaginal block elements of the preconditioning matrix (D_k in the paper)
Definition at line 102 of file treeoptimizer2.hh.