Namespaces | Functions
testHybridGaussianFactorGraph.cpp File Reference
#include <CppUnitLite/Test.h>
#include <CppUnitLite/TestHarness.h>
#include <gtsam/base/Testable.h>
#include <gtsam/base/TestableAssertions.h>
#include <gtsam/base/Vector.h>
#include <gtsam/discrete/DecisionTreeFactor.h>
#include <gtsam/discrete/DiscreteKey.h>
#include <gtsam/discrete/DiscreteValues.h>
#include <gtsam/hybrid/HybridBayesNet.h>
#include <gtsam/hybrid/HybridConditional.h>
#include <gtsam/hybrid/HybridFactor.h>
#include <gtsam/hybrid/HybridGaussianConditional.h>
#include <gtsam/hybrid/HybridGaussianFactor.h>
#include <gtsam/hybrid/HybridGaussianFactorGraph.h>
#include <gtsam/hybrid/HybridGaussianProductFactor.h>
#include <gtsam/hybrid/HybridValues.h>
#include <gtsam/inference/BayesNet.h>
#include <gtsam/inference/Key.h>
#include <gtsam/inference/Ordering.h>
#include <gtsam/inference/Symbol.h>
#include <gtsam/linear/JacobianFactor.h>
#include <cstddef>
#include <memory>
#include <vector>
#include "Switching.h"
#include "TinyHybridExample.h"
Include dependency graph for testHybridGaussianFactorGraph.cpp:

Go to the source code of this file.

Namespaces

 two
 

Functions

std::vector< GaussianFactor::shared_ptrtwo::components (Key key)
 
std::mt19937_64 kRng (42)
 
static const DiscreteKey m0 (M(0), 2)
 
static const DiscreteKey m1 (M(1), 2)
 
static const DiscreteKey m2 (M(2), 2)
 
int main ()
 
bool ratioTest (const HybridBayesNet &bn, const VectorValues &measurements, const HybridBayesNet &posterior, size_t num_samples=100)
 
bool ratioTest (const HybridBayesNet &bn, const VectorValues &measurements, const HybridGaussianFactorGraph &fg, size_t num_samples=100)
 
 TEST (HybridBayesNet, Switching)
 
 TEST (HybridGaussianFactorGraph, CollectProductFactor)
 
 TEST (HybridGaussianFactorGraph, Conditionals)
 
 TEST (HybridGaussianFactorGraph, Creation)
 
 TEST (HybridGaussianFactorGraph, DiscreteSelection)
 
 TEST (HybridGaussianFactorGraph, eliminateFullSequentialEqualChance)
 
 TEST (HybridGaussianFactorGraph, eliminateFullSequentialSimple)
 
 TEST (HybridGaussianFactorGraph, EliminateSequential)
 
 TEST (HybridGaussianFactorGraph, EliminateSwitchingNetwork)
 
 TEST (HybridGaussianFactorGraph, EliminateTiny1)
 
 TEST (HybridGaussianFactorGraph, EliminateTiny1Swapped)
 
 TEST (HybridGaussianFactorGraph, EliminateTiny2)
 
 TEST (HybridGaussianFactorGraph, EliminateTiny22)
 
 TEST (HybridGaussianFactorGraph, ErrorAndProbPrime)
 
 TEST (HybridGaussianFactorGraph, hybridEliminationOneFactor)
 
 TEST (HybridGaussianFactorGraph, IncrementalErrorTree)
 
 TEST (HybridGaussianFactorGraph, Optimize)
 

Function Documentation

◆ kRng()

std::mt19937_64 kRng ( 42  )

◆ m0()

static const DiscreteKey m0 ( M(0)  ,
 
)
static

◆ m1()

static const DiscreteKey m1 ( M(1)  ,
 
)

◆ m2()

static const DiscreteKey m2 ( M(2)  ,
 
)

◆ main()

int main ( )

Definition at line 849 of file testHybridGaussianFactorGraph.cpp.

◆ ratioTest() [1/2]

bool ratioTest ( const HybridBayesNet bn,
const VectorValues measurements,
const HybridBayesNet posterior,
size_t  num_samples = 100 
)

Definition at line 609 of file testHybridGaussianFactorGraph.cpp.

◆ ratioTest() [2/2]

bool ratioTest ( const HybridBayesNet bn,
const VectorValues measurements,
const HybridGaussianFactorGraph fg,
size_t  num_samples = 100 
)

Definition at line 588 of file testHybridGaussianFactorGraph.cpp.

◆ TEST() [1/17]

TEST ( HybridBayesNet  ,
Switching   
)

Definition at line 171 of file testHybridGaussianFactorGraph.cpp.

◆ TEST() [2/17]

TEST ( HybridGaussianFactorGraph  ,
CollectProductFactor   
)

Definition at line 548 of file testHybridGaussianFactorGraph.cpp.

◆ TEST() [3/17]

TEST ( HybridGaussianFactorGraph  ,
Conditionals   
)

Definition at line 450 of file testHybridGaussianFactorGraph.cpp.

◆ TEST() [4/17]

TEST ( HybridGaussianFactorGraph  ,
Creation   
)

Definition at line 63 of file testHybridGaussianFactorGraph.cpp.

◆ TEST() [5/17]

TEST ( HybridGaussianFactorGraph  ,
DiscreteSelection   
)

Definition at line 383 of file testHybridGaussianFactorGraph.cpp.

◆ TEST() [6/17]

TEST ( HybridGaussianFactorGraph  ,
eliminateFullSequentialEqualChance   
)

Definition at line 124 of file testHybridGaussianFactorGraph.cpp.

◆ TEST() [7/17]

TEST ( HybridGaussianFactorGraph  ,
eliminateFullSequentialSimple   
)

Definition at line 147 of file testHybridGaussianFactorGraph.cpp.

◆ TEST() [8/17]

TEST ( HybridGaussianFactorGraph  ,
EliminateSequential   
)

Definition at line 83 of file testHybridGaussianFactorGraph.cpp.

◆ TEST() [9/17]

TEST ( HybridGaussianFactorGraph  ,
EliminateSwitchingNetwork   
)

Definition at line 771 of file testHybridGaussianFactorGraph.cpp.

◆ TEST() [10/17]

TEST ( HybridGaussianFactorGraph  ,
EliminateTiny1   
)

Definition at line 630 of file testHybridGaussianFactorGraph.cpp.

◆ TEST() [11/17]

TEST ( HybridGaussianFactorGraph  ,
EliminateTiny1Swapped   
)

Definition at line 665 of file testHybridGaussianFactorGraph.cpp.

◆ TEST() [12/17]

TEST ( HybridGaussianFactorGraph  ,
EliminateTiny2   
)

Definition at line 717 of file testHybridGaussianFactorGraph.cpp.

◆ TEST() [13/17]

TEST ( HybridGaussianFactorGraph  ,
EliminateTiny22   
)

Definition at line 750 of file testHybridGaussianFactorGraph.cpp.

◆ TEST() [14/17]

TEST ( HybridGaussianFactorGraph  ,
ErrorAndProbPrime   
)

Definition at line 353 of file testHybridGaussianFactorGraph.cpp.

◆ TEST() [15/17]

TEST ( HybridGaussianFactorGraph  ,
hybridEliminationOneFactor   
)

Definition at line 104 of file testHybridGaussianFactorGraph.cpp.

◆ TEST() [16/17]

TEST ( HybridGaussianFactorGraph  ,
IncrementalErrorTree   
)

Definition at line 509 of file testHybridGaussianFactorGraph.cpp.

◆ TEST() [17/17]

TEST ( HybridGaussianFactorGraph  ,
Optimize   
)

Definition at line 434 of file testHybridGaussianFactorGraph.cpp.



gtsam
Author(s):
autogenerated on Thu Dec 19 2024 04:08:43