#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/discrete/TableDistribution.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"
Go to the source code of this file.
Namespaces | |
| two | |
| std::mt19937_64 kRng | ( | 42 | ) |
|
static |
| static const DiscreteKey m1 | ( | M(1) | , |
| 2 | |||
| ) |
| static const DiscreteKey m2 | ( | M(2) | , |
| 2 | |||
| ) |
| int main | ( | ) |
Definition at line 852 of file testHybridGaussianFactorGraph.cpp.
| bool ratioTest | ( | const HybridBayesNet & | bn, |
| const VectorValues & | measurements, | ||
| const HybridBayesNet & | posterior, | ||
| size_t | num_samples = 100 |
||
| ) |
Definition at line 610 of file testHybridGaussianFactorGraph.cpp.
| bool ratioTest | ( | const HybridBayesNet & | bn, |
| const VectorValues & | measurements, | ||
| const HybridGaussianFactorGraph & | fg, | ||
| size_t | num_samples = 100 |
||
| ) |
Definition at line 589 of file testHybridGaussianFactorGraph.cpp.
| TEST | ( | HybridBayesNet | , |
| Switching | |||
| ) |
Definition at line 172 of file testHybridGaussianFactorGraph.cpp.
| TEST | ( | HybridGaussianFactorGraph | , |
| CollectProductFactor | |||
| ) |
Definition at line 549 of file testHybridGaussianFactorGraph.cpp.
| TEST | ( | HybridGaussianFactorGraph | , |
| Conditionals | |||
| ) |
Definition at line 451 of file testHybridGaussianFactorGraph.cpp.
| TEST | ( | HybridGaussianFactorGraph | , |
| Creation | |||
| ) |
Definition at line 64 of file testHybridGaussianFactorGraph.cpp.
| TEST | ( | HybridGaussianFactorGraph | , |
| DiscreteSelection | |||
| ) |
Definition at line 384 of file testHybridGaussianFactorGraph.cpp.
| TEST | ( | HybridGaussianFactorGraph | , |
| eliminateFullSequentialEqualChance | |||
| ) |
Definition at line 125 of file testHybridGaussianFactorGraph.cpp.
| TEST | ( | HybridGaussianFactorGraph | , |
| eliminateFullSequentialSimple | |||
| ) |
Definition at line 148 of file testHybridGaussianFactorGraph.cpp.
| TEST | ( | HybridGaussianFactorGraph | , |
| EliminateSequential | |||
| ) |
Definition at line 84 of file testHybridGaussianFactorGraph.cpp.
| TEST | ( | HybridGaussianFactorGraph | , |
| EliminateSwitchingNetwork | |||
| ) |
Definition at line 774 of file testHybridGaussianFactorGraph.cpp.
| TEST | ( | HybridGaussianFactorGraph | , |
| EliminateTiny1 | |||
| ) |
Definition at line 631 of file testHybridGaussianFactorGraph.cpp.
| TEST | ( | HybridGaussianFactorGraph | , |
| EliminateTiny1Swapped | |||
| ) |
Definition at line 666 of file testHybridGaussianFactorGraph.cpp.
| TEST | ( | HybridGaussianFactorGraph | , |
| EliminateTiny2 | |||
| ) |
Definition at line 718 of file testHybridGaussianFactorGraph.cpp.
| TEST | ( | HybridGaussianFactorGraph | , |
| EliminateTiny22 | |||
| ) |
Definition at line 753 of file testHybridGaussianFactorGraph.cpp.
| TEST | ( | HybridGaussianFactorGraph | , |
| ErrorAndProbPrime | |||
| ) |
Definition at line 354 of file testHybridGaussianFactorGraph.cpp.
| TEST | ( | HybridGaussianFactorGraph | , |
| hybridEliminationOneFactor | |||
| ) |
Definition at line 105 of file testHybridGaussianFactorGraph.cpp.
| TEST | ( | HybridGaussianFactorGraph | , |
| IncrementalErrorTree | |||
| ) |
Definition at line 510 of file testHybridGaussianFactorGraph.cpp.
| TEST | ( | HybridGaussianFactorGraph | , |
| Optimize | |||
| ) |
Definition at line 435 of file testHybridGaussianFactorGraph.cpp.