Unit tests for hybrid serialization. More...
#include <gtsam/base/serializationTestHelpers.h>
#include <gtsam/discrete/DiscreteConditional.h>
#include <gtsam/hybrid/GaussianMixture.h>
#include <gtsam/hybrid/GaussianMixtureFactor.h>
#include <gtsam/hybrid/HybridBayesNet.h>
#include <gtsam/hybrid/HybridBayesTree.h>
#include <gtsam/hybrid/HybridConditional.h>
#include <gtsam/inference/Symbol.h>
#include <gtsam/linear/GaussianConditional.h>
#include "Switching.h"
#include <CppUnitLite/TestHarness.h>
Go to the source code of this file.
Typedefs | |
using | ADT = AlgebraicDecisionTree< Key > |
Functions | |
BOOST_CLASS_EXPORT_GUID (Factor, "gtsam_Factor") | |
BOOST_CLASS_EXPORT_GUID (HybridFactor, "gtsam_HybridFactor") | |
BOOST_CLASS_EXPORT_GUID (JacobianFactor, "gtsam_JacobianFactor") | |
BOOST_CLASS_EXPORT_GUID (GaussianConditional, "gtsam_GaussianConditional") | |
BOOST_CLASS_EXPORT_GUID (DiscreteConditional, "gtsam_DiscreteConditional") | |
BOOST_CLASS_EXPORT_GUID (DecisionTreeFactor, "gtsam_DecisionTreeFactor") | |
BOOST_CLASS_EXPORT_GUID (ADT, "gtsam_AlgebraicDecisionTree") | |
BOOST_CLASS_EXPORT_GUID (ADT::Leaf, "gtsam_AlgebraicDecisionTree_Leaf") | |
BOOST_CLASS_EXPORT_GUID (GaussianMixtureFactor, "gtsam_GaussianMixtureFactor") | |
BOOST_CLASS_EXPORT_GUID (GaussianMixtureFactor::Factors, "gtsam_GaussianMixtureFactor_Factors") | |
BOOST_CLASS_EXPORT_GUID (GaussianMixtureFactor::Factors::Leaf, "gtsam_GaussianMixtureFactor_Factors_Leaf") | |
BOOST_CLASS_EXPORT_GUID (GaussianMixtureFactor::Factors::Choice, "gtsam_GaussianMixtureFactor_Factors_Choice") | |
BOOST_CLASS_EXPORT_GUID (GaussianMixture, "gtsam_GaussianMixture") | |
BOOST_CLASS_EXPORT_GUID (GaussianMixture::Conditionals, "gtsam_GaussianMixture_Conditionals") | |
BOOST_CLASS_EXPORT_GUID (GaussianMixture::Conditionals::Leaf, "gtsam_GaussianMixture_Conditionals_Leaf") | |
BOOST_CLASS_EXPORT_GUID (GaussianMixture::Conditionals::Choice, "gtsam_GaussianMixture_Conditionals_Choice") | |
BOOST_CLASS_EXPORT_GUID (noiseModel::Isotropic, "gtsam_noiseModel_Isotropic") | |
BOOST_CLASS_EXPORT_GUID (HybridBayesNet, "gtsam_HybridBayesNet") | |
int | main () |
TEST (HybridSerialization, GaussianMixtureFactor) | |
TEST (HybridSerialization, HybridConditional) | |
TEST (HybridSerialization, GaussianMixture) | |
TEST (HybridSerialization, HybridBayesNet) | |
TEST (HybridSerialization, HybridBayesTree) | |
Unit tests for hybrid serialization.
Definition in file testSerializationHybrid.cpp.
using ADT = AlgebraicDecisionTree<Key> |
Definition at line 49 of file testSerializationHybrid.cpp.
BOOST_CLASS_EXPORT_GUID | ( | Factor | , |
"gtsam_Factor" | |||
) |
BOOST_CLASS_EXPORT_GUID | ( | HybridFactor | , |
"gtsam_HybridFactor" | |||
) |
BOOST_CLASS_EXPORT_GUID | ( | JacobianFactor | , |
"gtsam_JacobianFactor" | |||
) |
BOOST_CLASS_EXPORT_GUID | ( | GaussianConditional | , |
"gtsam_GaussianConditional" | |||
) |
BOOST_CLASS_EXPORT_GUID | ( | DiscreteConditional | , |
"gtsam_DiscreteConditional" | |||
) |
BOOST_CLASS_EXPORT_GUID | ( | DecisionTreeFactor | , |
"gtsam_DecisionTreeFactor" | |||
) |
BOOST_CLASS_EXPORT_GUID | ( | ADT | , |
"gtsam_AlgebraicDecisionTree" | |||
) |
BOOST_CLASS_EXPORT_GUID | ( | ADT::Leaf | , |
"gtsam_AlgebraicDecisionTree_Leaf" | |||
) |
BOOST_CLASS_EXPORT_GUID | ( | GaussianMixtureFactor | , |
"gtsam_GaussianMixtureFactor" | |||
) |
BOOST_CLASS_EXPORT_GUID | ( | GaussianMixtureFactor::Factors | , |
"gtsam_GaussianMixtureFactor_Factors" | |||
) |
BOOST_CLASS_EXPORT_GUID | ( | GaussianMixtureFactor::Factors::Leaf | , |
"gtsam_GaussianMixtureFactor_Factors_Leaf" | |||
) |
BOOST_CLASS_EXPORT_GUID | ( | GaussianMixtureFactor::Factors::Choice | , |
"gtsam_GaussianMixtureFactor_Factors_Choice" | |||
) |
BOOST_CLASS_EXPORT_GUID | ( | GaussianMixture | , |
"gtsam_GaussianMixture" | |||
) |
BOOST_CLASS_EXPORT_GUID | ( | GaussianMixture::Conditionals | , |
"gtsam_GaussianMixture_Conditionals" | |||
) |
BOOST_CLASS_EXPORT_GUID | ( | GaussianMixture::Conditionals::Leaf | , |
"gtsam_GaussianMixture_Conditionals_Leaf" | |||
) |
BOOST_CLASS_EXPORT_GUID | ( | GaussianMixture::Conditionals::Choice | , |
"gtsam_GaussianMixture_Conditionals_Choice" | |||
) |
BOOST_CLASS_EXPORT_GUID | ( | noiseModel::Isotropic | , |
"gtsam_noiseModel_Isotropic" | |||
) |
BOOST_CLASS_EXPORT_GUID | ( | HybridBayesNet | , |
"gtsam_HybridBayesNet" | |||
) |
int main | ( | void | ) |
Definition at line 148 of file testSerializationHybrid.cpp.
TEST | ( | HybridSerialization | , |
GaussianMixtureFactor | |||
) |
Definition at line 76 of file testSerializationHybrid.cpp.
TEST | ( | HybridSerialization | , |
HybridConditional | |||
) |
Definition at line 96 of file testSerializationHybrid.cpp.
TEST | ( | HybridSerialization | , |
GaussianMixture | |||
) |
Definition at line 110 of file testSerializationHybrid.cpp.
TEST | ( | HybridSerialization | , |
HybridBayesNet | |||
) |
Definition at line 127 of file testSerializationHybrid.cpp.
TEST | ( | HybridSerialization | , |
HybridBayesTree | |||
) |
Definition at line 138 of file testSerializationHybrid.cpp.