Typedefs | Functions
testSerializationHybrid.cpp File Reference

Unit tests for hybrid serialization. More...

#include <gtsam/base/serializationTestHelpers.h>
#include <gtsam/discrete/DiscreteConditional.h>
#include <gtsam/hybrid/HybridBayesNet.h>
#include <gtsam/hybrid/HybridBayesTree.h>
#include <gtsam/hybrid/HybridConditional.h>
#include <gtsam/hybrid/HybridGaussianConditional.h>
#include <gtsam/hybrid/HybridGaussianFactor.h>
#include <gtsam/inference/Symbol.h>
#include <gtsam/linear/GaussianConditional.h>
#include "Switching.h"
#include <CppUnitLite/TestHarness.h>
Include dependency graph for testSerializationHybrid.cpp:

Go to the source code of this file.

Typedefs

using ADT = AlgebraicDecisionTree< Key >
 

Functions

 BOOST_CLASS_EXPORT_GUID (ADT, "gtsam_AlgebraicDecisionTree")
 
 BOOST_CLASS_EXPORT_GUID (ADT::Leaf, "gtsam_AlgebraicDecisionTree_Leaf")
 
 BOOST_CLASS_EXPORT_GUID (DecisionTreeFactor, "gtsam_DecisionTreeFactor")
 
 BOOST_CLASS_EXPORT_GUID (DiscreteConditional, "gtsam_DiscreteConditional")
 
 BOOST_CLASS_EXPORT_GUID (Factor, "gtsam_Factor")
 
 BOOST_CLASS_EXPORT_GUID (GaussianConditional, "gtsam_GaussianConditional")
 
 BOOST_CLASS_EXPORT_GUID (GaussianFactorGraphValuePair, "gtsam_GaussianFactorGraphValuePair")
 
 BOOST_CLASS_EXPORT_GUID (HybridBayesNet, "gtsam_HybridBayesNet")
 
 BOOST_CLASS_EXPORT_GUID (HybridFactor, "gtsam_HybridFactor")
 
 BOOST_CLASS_EXPORT_GUID (HybridGaussianConditional, "gtsam_HybridGaussianConditional")
 
 BOOST_CLASS_EXPORT_GUID (HybridGaussianConditional::Conditionals, "gtsam_HybridGaussianConditional_Conditionals")
 
 BOOST_CLASS_EXPORT_GUID (HybridGaussianConditional::Conditionals::Choice, "gtsam_HybridGaussianConditional_Conditionals_Choice")
 
 BOOST_CLASS_EXPORT_GUID (HybridGaussianConditional::Conditionals::Leaf, "gtsam_HybridGaussianConditional_Conditionals_Leaf")
 
 BOOST_CLASS_EXPORT_GUID (HybridGaussianFactor, "gtsam_HybridGaussianFactor")
 
 BOOST_CLASS_EXPORT_GUID (HybridGaussianFactor::FactorValuePairs, "gtsam_HybridGaussianFactor_Factors")
 
 BOOST_CLASS_EXPORT_GUID (HybridGaussianFactor::FactorValuePairs::Choice, "gtsam_HybridGaussianFactor_Factors_Choice")
 
 BOOST_CLASS_EXPORT_GUID (HybridGaussianFactor::FactorValuePairs::Leaf, "gtsam_HybridGaussianFactor_Factors_Leaf")
 
 BOOST_CLASS_EXPORT_GUID (HybridGaussianProductFactor, "gtsam_HybridGaussianProductFactor")
 
 BOOST_CLASS_EXPORT_GUID (JacobianFactor, "gtsam_JacobianFactor")
 
 BOOST_CLASS_EXPORT_GUID (noiseModel::Isotropic, "gtsam_noiseModel_Isotropic")
 
int main ()
 
 TEST (HybridSerialization, HybridBayesNet)
 
 TEST (HybridSerialization, HybridBayesTree)
 
 TEST (HybridSerialization, HybridConditional)
 
 TEST (HybridSerialization, HybridGaussianConditional)
 
 TEST (HybridSerialization, HybridGaussianFactor)
 

Detailed Description

Unit tests for hybrid serialization.

Author
Varun Agrawal
Date
January 2023

Definition in file testSerializationHybrid.cpp.

Typedef Documentation

◆ ADT

Definition at line 49 of file testSerializationHybrid.cpp.

Function Documentation

◆ BOOST_CLASS_EXPORT_GUID() [1/20]

BOOST_CLASS_EXPORT_GUID ( ADT  ,
"gtsam_AlgebraicDecisionTree"   
)

◆ BOOST_CLASS_EXPORT_GUID() [2/20]

BOOST_CLASS_EXPORT_GUID ( ADT::Leaf  ,
"gtsam_AlgebraicDecisionTree_Leaf"   
)

◆ BOOST_CLASS_EXPORT_GUID() [3/20]

BOOST_CLASS_EXPORT_GUID ( DecisionTreeFactor  ,
"gtsam_DecisionTreeFactor"   
)

◆ BOOST_CLASS_EXPORT_GUID() [4/20]

BOOST_CLASS_EXPORT_GUID ( DiscreteConditional  ,
"gtsam_DiscreteConditional"   
)

◆ BOOST_CLASS_EXPORT_GUID() [5/20]

BOOST_CLASS_EXPORT_GUID ( Factor  ,
"gtsam_Factor"   
)

◆ BOOST_CLASS_EXPORT_GUID() [6/20]

BOOST_CLASS_EXPORT_GUID ( GaussianConditional  ,
"gtsam_GaussianConditional"   
)

◆ BOOST_CLASS_EXPORT_GUID() [7/20]

BOOST_CLASS_EXPORT_GUID ( GaussianFactorGraphValuePair  ,
"gtsam_GaussianFactorGraphValuePair"   
)

◆ BOOST_CLASS_EXPORT_GUID() [8/20]

BOOST_CLASS_EXPORT_GUID ( HybridBayesNet  ,
"gtsam_HybridBayesNet"   
)

◆ BOOST_CLASS_EXPORT_GUID() [9/20]

BOOST_CLASS_EXPORT_GUID ( HybridFactor  ,
"gtsam_HybridFactor"   
)

◆ BOOST_CLASS_EXPORT_GUID() [10/20]

BOOST_CLASS_EXPORT_GUID ( HybridGaussianConditional  ,
"gtsam_HybridGaussianConditional"   
)

◆ BOOST_CLASS_EXPORT_GUID() [11/20]

BOOST_CLASS_EXPORT_GUID ( HybridGaussianConditional::Conditionals  ,
"gtsam_HybridGaussianConditional_Conditionals"   
)

◆ BOOST_CLASS_EXPORT_GUID() [12/20]

BOOST_CLASS_EXPORT_GUID ( HybridGaussianConditional::Conditionals::Choice  ,
"gtsam_HybridGaussianConditional_Conditionals_Choice"   
)

◆ BOOST_CLASS_EXPORT_GUID() [13/20]

BOOST_CLASS_EXPORT_GUID ( HybridGaussianConditional::Conditionals::Leaf  ,
"gtsam_HybridGaussianConditional_Conditionals_Leaf"   
)

◆ BOOST_CLASS_EXPORT_GUID() [14/20]

BOOST_CLASS_EXPORT_GUID ( HybridGaussianFactor  ,
"gtsam_HybridGaussianFactor"   
)

◆ BOOST_CLASS_EXPORT_GUID() [15/20]

BOOST_CLASS_EXPORT_GUID ( HybridGaussianFactor::FactorValuePairs  ,
"gtsam_HybridGaussianFactor_Factors"   
)

◆ BOOST_CLASS_EXPORT_GUID() [16/20]

BOOST_CLASS_EXPORT_GUID ( HybridGaussianFactor::FactorValuePairs::Choice  ,
"gtsam_HybridGaussianFactor_Factors_Choice"   
)

◆ BOOST_CLASS_EXPORT_GUID() [17/20]

BOOST_CLASS_EXPORT_GUID ( HybridGaussianFactor::FactorValuePairs::Leaf  ,
"gtsam_HybridGaussianFactor_Factors_Leaf"   
)

◆ BOOST_CLASS_EXPORT_GUID() [18/20]

BOOST_CLASS_EXPORT_GUID ( HybridGaussianProductFactor  ,
"gtsam_HybridGaussianProductFactor"   
)

◆ BOOST_CLASS_EXPORT_GUID() [19/20]

BOOST_CLASS_EXPORT_GUID ( JacobianFactor  ,
"gtsam_JacobianFactor"   
)

◆ BOOST_CLASS_EXPORT_GUID() [20/20]

BOOST_CLASS_EXPORT_GUID ( noiseModel::Isotropic  ,
"gtsam_noiseModel_Isotropic"   
)

◆ main()

int main ( )

Definition at line 152 of file testSerializationHybrid.cpp.

◆ TEST() [1/5]

TEST ( HybridSerialization  ,
HybridBayesNet   
)

Definition at line 131 of file testSerializationHybrid.cpp.

◆ TEST() [2/5]

TEST ( HybridSerialization  ,
HybridBayesTree   
)

Definition at line 142 of file testSerializationHybrid.cpp.

◆ TEST() [3/5]

TEST ( HybridSerialization  ,
HybridConditional   
)

Definition at line 101 of file testSerializationHybrid.cpp.

◆ TEST() [4/5]

TEST ( HybridSerialization  ,
HybridGaussianConditional   
)

Definition at line 115 of file testSerializationHybrid.cpp.

◆ TEST() [5/5]

TEST ( HybridSerialization  ,
HybridGaussianFactor   
)

Definition at line 82 of file testSerializationHybrid.cpp.



gtsam
Author(s):
autogenerated on Sun Dec 22 2024 04:18:36