Namespaces | Functions | Variables
testGaussianFactorGraphB.cpp File Reference

Unit tests for Linear Factor Graph. More...

#include <tests/smallExample.h>
#include <gtsam/inference/Symbol.h>
#include <gtsam/linear/GaussianBayesNet.h>
#include <gtsam/linear/GaussianBayesTree.h>
#include <gtsam/linear/GaussianFactorGraph.h>
#include <gtsam/base/numericalDerivative.h>
#include <gtsam/base/Matrix.h>
#include <gtsam/base/Testable.h>
#include <CppUnitLite/TestHarness.h>
#include <boost/tuple/tuple.hpp>
#include <boost/assign/std/list.hpp>
#include <boost/assign/std/set.hpp>
#include <boost/assign/std/vector.hpp>
#include <boost/range/adaptor/map.hpp>
#include <string.h>
#include <iostream>
#include <gtsam/slam/ProjectionFactor.h>
#include <gtsam/geometry/Pose3.h>
#include <gtsam/sam/RangeFactor.h>
Include dependency graph for testGaussianFactorGraphB.cpp:

Go to the source code of this file.

Namespaces

 br
 

Functions

double error (const VectorValues &x)
 
int main ()
 
void print (vector< int > v)
 
 TEST (GaussianFactorGraph, equals)
 
 TEST (GaussianFactorGraph, error)
 
 TEST (GaussianFactorGraph, eliminateOne_x1)
 
 TEST (GaussianFactorGraph, eliminateOne_x2)
 
 TEST (GaussianFactorGraph, eliminateOne_l1)
 
 TEST (GaussianFactorGraph, eliminateOne_x1_fast)
 
 TEST (GaussianFactorGraph, eliminateOne_x2_fast)
 
 TEST (GaussianFactorGraph, eliminateOne_l1_fast)
 
 TEST (GaussianFactorGraph, copying)
 
 TEST (GaussianFactorGraph, CONSTRUCTOR_GaussianBayesNet)
 
 TEST (GaussianFactorGraph, optimize_Cholesky)
 
 TEST (GaussianFactorGraph, optimize_QR)
 
 TEST (GaussianFactorGraph, combine)
 
 TEST (GaussianFactorGraph, createSmoother)
 
 TEST (GaussianFactorGraph, multiplication)
 
 TEST (GaussianFactorGraph, elimination)
 
 TEST (GaussianFactorGraph, constrained_simple)
 
 TEST (GaussianFactorGraph, constrained_single)
 
 TEST (GaussianFactorGraph, constrained_multi1)
 
 TEST (GaussianFactorGraph, replace)
 
 TEST (GaussianFactorGraph, hasConstraints)
 
 TEST (GaussianFactorGraph, conditional_sigma_failure)
 

Variables

static auto kUnit2 = noiseModel::Unit::Create(2)
 
static SharedDiagonal model = noiseModel::Isotropic::Sigma(2,1)
 
double tol =1e-5
 

Detailed Description

Unit tests for Linear Factor Graph.

Author
Christian Potthast

Definition in file testGaussianFactorGraphB.cpp.

Function Documentation

double error ( const VectorValues x)

Definition at line 264 of file testGaussianFactorGraphB.cpp.

int main ( void  )

Definition at line 466 of file testGaussianFactorGraphB.cpp.

void print ( vector< int v)

Definition at line 250 of file testGaussianFactorGraphB.cpp.

TEST ( GaussianFactorGraph  ,
equals   
)

Definition at line 52 of file testGaussianFactorGraphB.cpp.

TEST ( GaussianFactorGraph  ,
error   
)

Definition at line 60 of file testGaussianFactorGraphB.cpp.

TEST ( GaussianFactorGraph  ,
eliminateOne_x1   
)

Definition at line 72 of file testGaussianFactorGraphB.cpp.

TEST ( GaussianFactorGraph  ,
eliminateOne_x2   
)

Definition at line 88 of file testGaussianFactorGraphB.cpp.

TEST ( GaussianFactorGraph  ,
eliminateOne_l1   
)

Definition at line 104 of file testGaussianFactorGraphB.cpp.

TEST ( GaussianFactorGraph  ,
eliminateOne_x1_fast   
)

Definition at line 120 of file testGaussianFactorGraphB.cpp.

TEST ( GaussianFactorGraph  ,
eliminateOne_x2_fast   
)

Definition at line 145 of file testGaussianFactorGraphB.cpp.

TEST ( GaussianFactorGraph  ,
eliminateOne_l1_fast   
)

Definition at line 159 of file testGaussianFactorGraphB.cpp.

TEST ( GaussianFactorGraph  ,
copying   
)

Definition at line 173 of file testGaussianFactorGraphB.cpp.

TEST ( GaussianFactorGraph  ,
CONSTRUCTOR_GaussianBayesNet   
)

Definition at line 191 of file testGaussianFactorGraphB.cpp.

TEST ( GaussianFactorGraph  ,
optimize_Cholesky   
)

Definition at line 204 of file testGaussianFactorGraphB.cpp.

TEST ( GaussianFactorGraph  ,
optimize_QR   
)

Definition at line 217 of file testGaussianFactorGraphB.cpp.

TEST ( GaussianFactorGraph  ,
combine   
)

Definition at line 231 of file testGaussianFactorGraphB.cpp.

TEST ( GaussianFactorGraph  ,
createSmoother   
)

Definition at line 256 of file testGaussianFactorGraphB.cpp.

TEST ( GaussianFactorGraph  ,
multiplication   
)

Definition at line 270 of file testGaussianFactorGraphB.cpp.

TEST ( GaussianFactorGraph  ,
elimination   
)

Definition at line 284 of file testGaussianFactorGraphB.cpp.

TEST ( GaussianFactorGraph  ,
constrained_simple   
)

Definition at line 315 of file testGaussianFactorGraphB.cpp.

TEST ( GaussianFactorGraph  ,
constrained_single   
)

Definition at line 329 of file testGaussianFactorGraphB.cpp.

TEST ( GaussianFactorGraph  ,
constrained_multi1   
)

Definition at line 343 of file testGaussianFactorGraphB.cpp.

TEST ( GaussianFactorGraph  ,
replace   
)

Definition at line 361 of file testGaussianFactorGraphB.cpp.

TEST ( GaussianFactorGraph  ,
hasConstraints   
)

Definition at line 390 of file testGaussianFactorGraphB.cpp.

TEST ( GaussianFactorGraph  ,
conditional_sigma_failure   
)

Definition at line 407 of file testGaussianFactorGraphB.cpp.

Variable Documentation

auto kUnit2 = noiseModel::Unit::Create(2)
static

Definition at line 49 of file testGaussianFactorGraphB.cpp.

SharedDiagonal model = noiseModel::Isotropic::Sigma(2,1)
static

Definition at line 358 of file testGaussianFactorGraphB.cpp.

double tol =1e-5

Definition at line 44 of file testGaussianFactorGraphB.cpp.



gtsam
Author(s):
autogenerated on Sat May 8 2021 02:51:41