#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 <boost/assign/list_of.hpp>#include <boost/assign/std/list.hpp>#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) | |
| bool | triplet_equal (SparseTriplet a, SparseTriplet b) |
| typedef std::tuple<size_t, size_t, double> SparseTriplet |
Definition at line 39 of file testGaussianFactorGraph.cpp.
|
static |
Definition at line 308 of file testGaussianFactorGraph.cpp.
|
static |
Factor graph with 2 2D factors on 3 2D variables.
Definition at line 192 of file testGaussianFactorGraph.cpp.
| int main | ( | void | ) |
Definition at line 437 of file testGaussianFactorGraph.cpp.
| TEST | ( | GaussianFactorGraph | , |
| initialization | |||
| ) |
Definition at line 53 of file testGaussianFactorGraph.cpp.
| TEST | ( | GaussianFactorGraph | , |
| sparseJacobian | |||
| ) |
Definition at line 79 of file testGaussianFactorGraph.cpp.
| TEST | ( | GaussianFactorGraph | , |
| matrices | |||
| ) |
Definition at line 135 of file testGaussianFactorGraph.cpp.
| TEST | ( | GaussianFactorGraph | , |
| gradient | |||
| ) |
Definition at line 208 of file testGaussianFactorGraph.cpp.
| TEST | ( | GaussianFactorGraph | , |
| transposeMultiplication | |||
| ) |
Definition at line 231 of file testGaussianFactorGraph.cpp.
| TEST | ( | GaussianFactorGraph | , |
| eliminate_empty | |||
| ) |
Definition at line 247 of file testGaussianFactorGraph.cpp.
| TEST | ( | GaussianFactorGraph | , |
| matrices2 | |||
| ) |
Definition at line 267 of file testGaussianFactorGraph.cpp.
| TEST | ( | GaussianFactorGraph | , |
| multiplyHessianAdd | |||
| ) |
Definition at line 288 of file testGaussianFactorGraph.cpp.
| TEST | ( | GaussianFactorGraph | , |
| multiplyHessianAdd2 | |||
| ) |
Definition at line 316 of file testGaussianFactorGraph.cpp.
| TEST | ( | GaussianFactorGraph | , |
| matricesMixed | |||
| ) |
Definition at line 346 of file testGaussianFactorGraph.cpp.
| TEST | ( | GaussianFactorGraph | , |
| gradientAtZero | |||
| ) |
Definition at line 361 of file testGaussianFactorGraph.cpp.
| TEST | ( | GaussianFactorGraph | , |
| clone | |||
| ) |
| TEST | ( | GaussianFactorGraph | , |
| negate | |||
| ) |
Add null factor
Definition at line 401 of file testGaussianFactorGraph.cpp.
| TEST | ( | GaussianFactorGraph | , |
| hessianDiagonal | |||
| ) |
Definition at line 416 of file testGaussianFactorGraph.cpp.
| TEST | ( | GaussianFactorGraph | , |
| DenseSolve | |||
| ) |
Definition at line 429 of file testGaussianFactorGraph.cpp.
| bool triplet_equal | ( | SparseTriplet | a, |
| SparseTriplet | b | ||
| ) |
Definition at line 40 of file testGaussianFactorGraph.cpp.