Unit tests for HybridGaussianConditional class. More...
#include <gtsam/discrete/DecisionTree.h>#include <gtsam/discrete/DiscreteKey.h>#include <gtsam/discrete/DiscreteValues.h>#include <gtsam/hybrid/HybridConditional.h>#include <gtsam/hybrid/HybridGaussianConditional.h>#include <gtsam/hybrid/HybridGaussianFactor.h>#include <gtsam/hybrid/HybridValues.h>#include <gtsam/inference/Symbol.h>#include <gtsam/linear/GaussianConditional.h>#include <memory>#include <vector>#include <CppUnitLite/TestHarness.h>
Go to the source code of this file.
Namespaces | |
| equal_constants | |
| mode_dependent_constants | |
| two_mode_measurement | |
Functions | |
| int | main () |
| static const DiscreteKey | mode (modeKey, 2) |
| TEST (HybridGaussianConditional, ContinuousParents) | |
| TEST (HybridGaussianConditional, Error) | |
| Check error. More... | |
| TEST (HybridGaussianConditional, Error2) | |
| Check error with mode dependent constants. More... | |
| TEST (HybridGaussianConditional, Invariants) | |
| Check that invariants hold. More... | |
| TEST (HybridGaussianConditional, Likelihood) | |
| TEST (HybridGaussianConditional, Likelihood2) | |
| TEST (HybridGaussianConditional, LogProbability) | |
| Check LogProbability. More... | |
| TEST (HybridGaussianConditional, Prune) | |
| TEST (HybridGaussianConditional, Restrict) | |
Unit tests for HybridGaussianConditional class.
Definition in file testHybridGaussianConditional.cpp.
| int main | ( | ) |
Definition at line 346 of file testHybridGaussianConditional.cpp.
|
static |
| TEST | ( | HybridGaussianConditional | , |
| ContinuousParents | |||
| ) |
Definition at line 158 of file testHybridGaussianConditional.cpp.
| TEST | ( | HybridGaussianConditional | , |
| Error | |||
| ) |
Check error.
Definition at line 90 of file testHybridGaussianConditional.cpp.
| TEST | ( | HybridGaussianConditional | , |
| Error2 | |||
| ) |
Check error with mode dependent constants.
Definition at line 171 of file testHybridGaussianConditional.cpp.
| TEST | ( | HybridGaussianConditional | , |
| Invariants | |||
| ) |
Check that invariants hold.
Definition at line 64 of file testHybridGaussianConditional.cpp.
| TEST | ( | HybridGaussianConditional | , |
| Likelihood | |||
| ) |
Check that the likelihood is proportional to the conditional density given the measurements.
Definition at line 113 of file testHybridGaussianConditional.cpp.
| TEST | ( | HybridGaussianConditional | , |
| Likelihood2 | |||
| ) |
Check that the likelihood is proportional to the conditional density given the measurements.
Definition at line 204 of file testHybridGaussianConditional.cpp.
| TEST | ( | HybridGaussianConditional | , |
| LogProbability | |||
| ) |
Check LogProbability.
Definition at line 79 of file testHybridGaussianConditional.cpp.
| TEST | ( | HybridGaussianConditional | , |
| Prune | |||
| ) |
Definition at line 259 of file testHybridGaussianConditional.cpp.
| TEST | ( | HybridGaussianConditional | , |
| Restrict | |||
| ) |
Definition at line 316 of file testHybridGaussianConditional.cpp.
|
static |
Definition at line 46 of file testHybridGaussianConditional.cpp.
|
static |
Definition at line 46 of file testHybridGaussianConditional.cpp.
|
static |
Definition at line 47 of file testHybridGaussianConditional.cpp.
|
static |
Definition at line 48 of file testHybridGaussianConditional.cpp.
Definition at line 43 of file testHybridGaussianConditional.cpp.
|
static |
Definition at line 45 of file testHybridGaussianConditional.cpp.