#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"
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 849 of file testHybridGaussianFactorGraph.cpp.
bool ratioTest | ( | const HybridBayesNet & | bn, |
const VectorValues & | measurements, | ||
const HybridBayesNet & | posterior, | ||
size_t | num_samples = 100 |
||
) |
Definition at line 609 of file testHybridGaussianFactorGraph.cpp.
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 | ( | HybridBayesNet | , |
Switching | |||
) |
Definition at line 171 of file testHybridGaussianFactorGraph.cpp.
TEST | ( | HybridGaussianFactorGraph | , |
CollectProductFactor | |||
) |
Definition at line 548 of file testHybridGaussianFactorGraph.cpp.
TEST | ( | HybridGaussianFactorGraph | , |
Conditionals | |||
) |
Definition at line 450 of file testHybridGaussianFactorGraph.cpp.
TEST | ( | HybridGaussianFactorGraph | , |
Creation | |||
) |
Definition at line 63 of file testHybridGaussianFactorGraph.cpp.
TEST | ( | HybridGaussianFactorGraph | , |
DiscreteSelection | |||
) |
Definition at line 383 of file testHybridGaussianFactorGraph.cpp.
TEST | ( | HybridGaussianFactorGraph | , |
eliminateFullSequentialEqualChance | |||
) |
Definition at line 124 of file testHybridGaussianFactorGraph.cpp.
TEST | ( | HybridGaussianFactorGraph | , |
eliminateFullSequentialSimple | |||
) |
Definition at line 147 of file testHybridGaussianFactorGraph.cpp.
TEST | ( | HybridGaussianFactorGraph | , |
EliminateSequential | |||
) |
Definition at line 83 of file testHybridGaussianFactorGraph.cpp.
TEST | ( | HybridGaussianFactorGraph | , |
EliminateSwitchingNetwork | |||
) |
Definition at line 771 of file testHybridGaussianFactorGraph.cpp.
TEST | ( | HybridGaussianFactorGraph | , |
EliminateTiny1 | |||
) |
Definition at line 630 of file testHybridGaussianFactorGraph.cpp.
TEST | ( | HybridGaussianFactorGraph | , |
EliminateTiny1Swapped | |||
) |
Definition at line 665 of file testHybridGaussianFactorGraph.cpp.
TEST | ( | HybridGaussianFactorGraph | , |
EliminateTiny2 | |||
) |
Definition at line 717 of file testHybridGaussianFactorGraph.cpp.
TEST | ( | HybridGaussianFactorGraph | , |
EliminateTiny22 | |||
) |
Definition at line 750 of file testHybridGaussianFactorGraph.cpp.
TEST | ( | HybridGaussianFactorGraph | , |
ErrorAndProbPrime | |||
) |
Definition at line 353 of file testHybridGaussianFactorGraph.cpp.
TEST | ( | HybridGaussianFactorGraph | , |
hybridEliminationOneFactor | |||
) |
Definition at line 104 of file testHybridGaussianFactorGraph.cpp.
TEST | ( | HybridGaussianFactorGraph | , |
IncrementalErrorTree | |||
) |
Definition at line 509 of file testHybridGaussianFactorGraph.cpp.
TEST | ( | HybridGaussianFactorGraph | , |
Optimize | |||
) |
Definition at line 434 of file testHybridGaussianFactorGraph.cpp.