#include <gtsam/linear/GaussianFactorGraph.h>
#include <gtsam/linear/GaussianConditional.h>
#include <gtsam/linear/GaussianBayesNet.h>
#include <gtsam/inference/VariableSlots.h>
#include <gtsam/inference/VariableIndex.h>
#include <gtsam/base/debug.h>
#include <gtsam/base/VerticalBlockMatrix.h>
#include <gtsam/base/TestableAssertions.h>
#include <CppUnitLite/TestHarness.h>
Go to the source code of this file.
Typedefs | |
typedef std::tuple< size_t, size_t, double > | SparseTriplet |
Functions | |
static GaussianFactorGraph | createGaussianFactorGraphWithHessianFactor () |
static GaussianFactorGraph | createSimpleGaussianFactorGraph () |
Factor graph with 2 2D factors on 3 2D variables. More... | |
int | main () |
TEST (GaussianFactorGraph, initialization) | |
TEST (GaussianFactorGraph, sparseJacobian) | |
TEST (GaussianFactorGraph, matrices) | |
TEST (GaussianFactorGraph, gradient) | |
TEST (GaussianFactorGraph, transposeMultiplication) | |
TEST (GaussianFactorGraph, eliminate_empty) | |
TEST (GaussianFactorGraph, matrices2) | |
TEST (GaussianFactorGraph, multiplyHessianAdd) | |
TEST (GaussianFactorGraph, multiplyHessianAdd2) | |
TEST (GaussianFactorGraph, matricesMixed) | |
TEST (GaussianFactorGraph, gradientAtZero) | |
TEST (GaussianFactorGraph, clone) | |
TEST (GaussianFactorGraph, negate) | |
TEST (GaussianFactorGraph, hessianDiagonal) | |
TEST (GaussianFactorGraph, DenseSolve) | |
TEST (GaussianFactorGraph, ProbPrime) | |
bool | triplet_equal (SparseTriplet a, SparseTriplet b) |
typedef std::tuple<size_t, size_t, double> SparseTriplet |
Definition at line 35 of file testGaussianFactorGraph.cpp.
|
static |
Definition at line 294 of file testGaussianFactorGraph.cpp.
|
static |
Factor graph with 2 2D factors on 3 2D variables.
Definition at line 183 of file testGaussianFactorGraph.cpp.
int main | ( | void | ) |
Definition at line 439 of file testGaussianFactorGraph.cpp.
TEST | ( | GaussianFactorGraph | , |
initialization | |||
) |
Definition at line 49 of file testGaussianFactorGraph.cpp.
TEST | ( | GaussianFactorGraph | , |
sparseJacobian | |||
) |
Definition at line 74 of file testGaussianFactorGraph.cpp.
TEST | ( | GaussianFactorGraph | , |
matrices | |||
) |
Definition at line 130 of file testGaussianFactorGraph.cpp.
TEST | ( | GaussianFactorGraph | , |
gradient | |||
) |
Definition at line 199 of file testGaussianFactorGraph.cpp.
TEST | ( | GaussianFactorGraph | , |
transposeMultiplication | |||
) |
Definition at line 223 of file testGaussianFactorGraph.cpp.
TEST | ( | GaussianFactorGraph | , |
eliminate_empty | |||
) |
Definition at line 239 of file testGaussianFactorGraph.cpp.
TEST | ( | GaussianFactorGraph | , |
matrices2 | |||
) |
Definition at line 257 of file testGaussianFactorGraph.cpp.
TEST | ( | GaussianFactorGraph | , |
multiplyHessianAdd | |||
) |
Definition at line 274 of file testGaussianFactorGraph.cpp.
TEST | ( | GaussianFactorGraph | , |
multiplyHessianAdd2 | |||
) |
Definition at line 302 of file testGaussianFactorGraph.cpp.
TEST | ( | GaussianFactorGraph | , |
matricesMixed | |||
) |
Definition at line 329 of file testGaussianFactorGraph.cpp.
TEST | ( | GaussianFactorGraph | , |
gradientAtZero | |||
) |
Definition at line 340 of file testGaussianFactorGraph.cpp.
TEST | ( | GaussianFactorGraph | , |
clone | |||
) |
TEST | ( | GaussianFactorGraph | , |
negate | |||
) |
Add null factor
Definition at line 380 of file testGaussianFactorGraph.cpp.
TEST | ( | GaussianFactorGraph | , |
hessianDiagonal | |||
) |
Definition at line 395 of file testGaussianFactorGraph.cpp.
TEST | ( | GaussianFactorGraph | , |
DenseSolve | |||
) |
Definition at line 409 of file testGaussianFactorGraph.cpp.
TEST | ( | GaussianFactorGraph | , |
ProbPrime | |||
) |
Definition at line 417 of file testGaussianFactorGraph.cpp.
bool triplet_equal | ( | SparseTriplet | a, |
SparseTriplet | b | ||
) |
Definition at line 36 of file testGaussianFactorGraph.cpp.