Unit tests for GncOptimizer class. More...
#include <CppUnitLite/TestHarness.h>
#include <gtsam/nonlinear/GncOptimizer.h>
#include <gtsam/nonlinear/LinearContainerFactor.h>
#include <gtsam/slam/dataset.h>
#include <tests/smallExample.h>
#include <gtsam/sam/BearingFactor.h>
#include <gtsam/geometry/Pose2.h>
Go to the source code of this file.
Functions | |
int | main () |
TEST (GncOptimizer, barcsq) | |
TEST (GncOptimizer, barcsq_heterogeneousFactors) | |
TEST (GncOptimizer, calculateWeightsGM) | |
TEST (GncOptimizer, calculateWeightsTLS) | |
TEST (GncOptimizer, calculateWeightsTLS2) | |
TEST (GncOptimizer, checkConvergenceTLS) | |
TEST (GncOptimizer, checkCostConvergence) | |
TEST (GncOptimizer, checkMuConvergence) | |
TEST (GncOptimizer, checkWeightsConvergence) | |
TEST (GncOptimizer, chi2inv) | |
TEST (GncOptimizer, gncConstructor) | |
TEST (GncOptimizer, gncConstructorWithRobustGraphAsInput) | |
TEST (GncOptimizer, gncParamsConstructor) | |
TEST (GncOptimizer, initializeMu) | |
TEST (GncOptimizer, knownInliersAndOutliers) | |
TEST (GncOptimizer, makeWeightedGraph) | |
TEST (GncOptimizer, optimize) | |
TEST (GncOptimizer, optimizeSimple) | |
TEST (GncOptimizer, optimizeSmallPoseGraph) | |
TEST (GncOptimizer, optimizeWithKnownInliers) | |
TEST (GncOptimizer, setInlierCostThresholds) | |
TEST (GncOptimizer, setWeights) | |
TEST (GncOptimizer, solverParameterParsing) | |
TEST (GncOptimizer, updateMuGM) | |
TEST (GncOptimizer, updateMuTLS) | |
Variables | |
static double | tol = 1e-7 |
Unit tests for GncOptimizer class.
Implementation of the paper: Yang, Antonante, Tzoumas, Carlone, "Graduated Non-Convexity for Robust Spatial Perception: From Non-Minimal Solvers to Global Outlier Rejection", ICRA/RAL, 2020. (arxiv version: https://arxiv.org/pdf/1909.08605.pdf)
See also: Antonante, Tzoumas, Yang, Carlone, "Outlier-Robust Estimation: Hardness, Minimally-Tuned Algorithms, and Applications", arxiv: https://arxiv.org/pdf/2007.15109.pdf, 2020.
Definition in file testGncOptimizer.cpp.
int main | ( | ) |
Definition at line 947 of file testGncOptimizer.cpp.
TEST | ( | GncOptimizer | , |
barcsq | |||
) |
Definition at line 640 of file testGncOptimizer.cpp.
TEST | ( | GncOptimizer | , |
barcsq_heterogeneousFactors | |||
) |
Definition at line 663 of file testGncOptimizer.cpp.
TEST | ( | GncOptimizer | , |
calculateWeightsGM | |||
) |
Definition at line 352 of file testGncOptimizer.cpp.
TEST | ( | GncOptimizer | , |
calculateWeightsTLS | |||
) |
Definition at line 388 of file testGncOptimizer.cpp.
TEST | ( | GncOptimizer | , |
calculateWeightsTLS2 | |||
) |
Definition at line 412 of file testGncOptimizer.cpp.
TEST | ( | GncOptimizer | , |
checkConvergenceTLS | |||
) |
Definition at line 333 of file testGncOptimizer.cpp.
TEST | ( | GncOptimizer | , |
checkCostConvergence | |||
) |
Definition at line 246 of file testGncOptimizer.cpp.
TEST | ( | GncOptimizer | , |
checkMuConvergence | |||
) |
Definition at line 216 of file testGncOptimizer.cpp.
TEST | ( | GncOptimizer | , |
checkWeightsConvergence | |||
) |
Definition at line 279 of file testGncOptimizer.cpp.
TEST | ( | GncOptimizer | , |
chi2inv | |||
) |
Definition at line 634 of file testGncOptimizer.cpp.
TEST | ( | GncOptimizer | , |
gncConstructor | |||
) |
Definition at line 77 of file testGncOptimizer.cpp.
TEST | ( | GncOptimizer | , |
gncConstructorWithRobustGraphAsInput | |||
) |
Definition at line 126 of file testGncOptimizer.cpp.
TEST | ( | GncOptimizer | , |
gncParamsConstructor | |||
) |
Definition at line 47 of file testGncOptimizer.cpp.
TEST | ( | GncOptimizer | , |
initializeMu | |||
) |
Definition at line 146 of file testGncOptimizer.cpp.
TEST | ( | GncOptimizer | , |
knownInliersAndOutliers | |||
) |
Definition at line 776 of file testGncOptimizer.cpp.
TEST | ( | GncOptimizer | , |
makeWeightedGraph | |||
) |
Definition at line 481 of file testGncOptimizer.cpp.
TEST | ( | GncOptimizer | , |
optimize | |||
) |
Definition at line 529 of file testGncOptimizer.cpp.
TEST | ( | GncOptimizer | , |
optimizeSimple | |||
) |
Definition at line 512 of file testGncOptimizer.cpp.
TEST | ( | GncOptimizer | , |
optimizeSmallPoseGraph | |||
) |
load small pose graph
get expected values by optimizing outlier-free graph
get expected values by optimizing outlier-free graph
Definition at line 737 of file testGncOptimizer.cpp.
TEST | ( | GncOptimizer | , |
optimizeWithKnownInliers | |||
) |
Definition at line 563 of file testGncOptimizer.cpp.
TEST | ( | GncOptimizer | , |
setInlierCostThresholds | |||
) |
Definition at line 687 of file testGncOptimizer.cpp.
TEST | ( | GncOptimizer | , |
setWeights | |||
) |
Definition at line 866 of file testGncOptimizer.cpp.
TEST | ( | GncOptimizer | , |
solverParameterParsing | |||
) |
Definition at line 102 of file testGncOptimizer.cpp.
TEST | ( | GncOptimizer | , |
updateMuGM | |||
) |
Definition at line 174 of file testGncOptimizer.cpp.
TEST | ( | GncOptimizer | , |
updateMuTLS | |||
) |
Definition at line 197 of file testGncOptimizer.cpp.
|
static |
Definition at line 44 of file testGncOptimizer.cpp.