Unit tests for HybridBayesTree. More...
#include <gtsam/base/serializationTestHelpers.h>
#include <gtsam/discrete/DiscreteFactorGraph.h>
#include <gtsam/hybrid/HybridBayesTree.h>
#include <gtsam/hybrid/HybridGaussianISAM.h>
#include <gtsam/inference/DotWriter.h>
#include <numeric>
#include "Switching.h"
#include <CppUnitLite/TestHarness.h>
Go to the source code of this file.
Namespaces | |
optimize_fixture | |
two | |
void dotPrint | ( | const HybridGaussianFactorGraph::shared_ptr & | hfg, |
const HybridBayesTree::shared_ptr & | hbt, | ||
const Ordering & | ordering | ||
) |
Definition at line 146 of file testHybridBayesTree.cpp.
|
static |
static const DiscreteKey m1 | ( | M(1) | , |
2 | |||
) |
static const DiscreteKey m2 | ( | M(2) | , |
2 | |||
) |
static const DiscreteKey m3 | ( | M(3) | , |
2 | |||
) |
int main | ( | ) |
Definition at line 499 of file testHybridBayesTree.cpp.
TEST | ( | HybridBayesTree | , |
Choose | |||
) |
Definition at line 465 of file testHybridBayesTree.cpp.
TEST | ( | HybridBayesTree | , |
Optimize | |||
) |
Definition at line 423 of file testHybridBayesTree.cpp.
TEST | ( | HybridBayesTree | , |
OptimizeAssignment | |||
) |
Definition at line 373 of file testHybridBayesTree.cpp.
TEST | ( | HybridBayesTree | , |
OptimizeMultifrontal | |||
) |
Definition at line 336 of file testHybridBayesTree.cpp.
TEST | ( | HybridGaussianFactorGraph | , |
eliminateFullMultifrontalCLG | |||
) |
Definition at line 86 of file testHybridBayesTree.cpp.
TEST | ( | HybridGaussianFactorGraph | , |
eliminateFullMultifrontalTwoClique | |||
) |
Definition at line 110 of file testHybridBayesTree.cpp.
TEST | ( | HybridGaussianFactorGraph | , |
EliminateMultifrontal | |||
) |
Definition at line 42 of file testHybridBayesTree.cpp.
TEST | ( | HybridGaussianFactorGraph | , |
HybridGaussianFactorGraphEliminateFullMultifrontalSimple | |||
) |
Definition at line 67 of file testHybridBayesTree.cpp.
TEST | ( | HybridGaussianFactorGraph | , |
Switching | |||
) |
Definition at line 162 of file testHybridBayesTree.cpp.
TEST | ( | HybridGaussianFactorGraph | , |
SwitchingISAM | |||
) |
Definition at line 209 of file testHybridBayesTree.cpp.
TEST | ( | HybridGaussianFactorGraph | , |
SwitchingTwoVar | |||
) |
Definition at line 264 of file testHybridBayesTree.cpp.