Typedefs | Functions | Variables
testSymbolicBayesTree.cpp File Reference
#include <gtsam/inference/Symbol.h>
#include <gtsam/symbolic/SymbolicBayesNet.h>
#include <gtsam/symbolic/SymbolicBayesTree.h>
#include <gtsam/symbolic/tests/symbolicExampleGraphs.h>
#include <CppUnitLite/TestHarness.h>
#include <gtsam/base/TestableAssertions.h>
#include <iterator>
#include <type_traits>
Include dependency graph for testSymbolicBayesTree.cpp:

Go to the source code of this file.

Typedefs

template<typename T >
using PointedToType = std::decay_t< decltype(**declval< T >().begin())>
 
template<typename T >
using ValuesVector = std::vector< PointedToType< T > >
 

Functions

template<typename T >
ValuesVector< Tderef (const T &v)
 
void getAllCliques (const SymbolicBayesTree::sharedClique &subtree, SymbolicBayesTree::Cliques &cliques)
 
int main ()
 
 TEST (BayesTree, removePath)
 
 TEST (BayesTree, removePath2)
 
 TEST (BayesTree, removePath3)
 
 TEST (BayesTree, removeTop)
 
 TEST (BayesTree, removeTop2)
 
 TEST (BayesTree, removeTop3)
 
 TEST (BayesTree, removeTop4)
 
 TEST (BayesTree, removeTop5)
 
 TEST (BayesTree, shortcutCheck)
 
 TEST (SymbolicBayesTree, clear)
 
 TEST (SymbolicBayesTree, clique_structure)
 
 TEST (SymbolicBayesTree, COLAMDvsMETIS)
 
 TEST (SymbolicBayesTree, complicatedMarginal)
 
 TEST (SymbolicBayesTree, forest_joint)
 
 TEST (SymbolicBayesTree, linear_smoother_shortcuts)
 
 TEST (SymbolicBayesTree, thinTree)
 

Variables

static bool debug = false
 

Typedef Documentation

◆ PointedToType

template<typename T >
using PointedToType = std::decay_t<decltype(**declval<T>().begin())>

Definition at line 38 of file testSymbolicBayesTree.cpp.

◆ ValuesVector

template<typename T >
using ValuesVector = std::vector<PointedToType<T> >

Definition at line 42 of file testSymbolicBayesTree.cpp.

Function Documentation

◆ deref()

template<typename T >
ValuesVector<T> deref ( const T v)

Definition at line 46 of file testSymbolicBayesTree.cpp.

◆ getAllCliques()

void getAllCliques ( const SymbolicBayesTree::sharedClique &  subtree,
SymbolicBayesTree::Cliques &  cliques 
)

Definition at line 187 of file testSymbolicBayesTree.cpp.

◆ main()

int main ( )

Definition at line 732 of file testSymbolicBayesTree.cpp.

◆ TEST() [1/16]

TEST ( BayesTree  ,
removePath   
)

Definition at line 108 of file testSymbolicBayesTree.cpp.

◆ TEST() [2/16]

TEST ( BayesTree  ,
removePath2   
)

Definition at line 150 of file testSymbolicBayesTree.cpp.

◆ TEST() [3/16]

TEST ( BayesTree  ,
removePath3   
)

Definition at line 169 of file testSymbolicBayesTree.cpp.

◆ TEST() [4/16]

TEST ( BayesTree  ,
removeTop   
)

Definition at line 247 of file testSymbolicBayesTree.cpp.

◆ TEST() [5/16]

TEST ( BayesTree  ,
removeTop2   
)

Definition at line 280 of file testSymbolicBayesTree.cpp.

◆ TEST() [6/16]

TEST ( BayesTree  ,
removeTop3   
)

Definition at line 304 of file testSymbolicBayesTree.cpp.

◆ TEST() [7/16]

TEST ( BayesTree  ,
removeTop4   
)

Definition at line 323 of file testSymbolicBayesTree.cpp.

◆ TEST() [8/16]

TEST ( BayesTree  ,
removeTop5   
)

Definition at line 342 of file testSymbolicBayesTree.cpp.

◆ TEST() [9/16]

TEST ( BayesTree  ,
shortcutCheck   
)

Definition at line 200 of file testSymbolicBayesTree.cpp.

◆ TEST() [10/16]

TEST ( SymbolicBayesTree  ,
clear   
)

Definition at line 55 of file testSymbolicBayesTree.cpp.

◆ TEST() [11/16]

TEST ( SymbolicBayesTree  ,
clique_structure   
)

Definition at line 66 of file testSymbolicBayesTree.cpp.

◆ TEST() [12/16]

TEST ( SymbolicBayesTree  ,
COLAMDvsMETIS   
)

Definition at line 650 of file testSymbolicBayesTree.cpp.

◆ TEST() [13/16]

TEST ( SymbolicBayesTree  ,
complicatedMarginal   
)

Definition at line 566 of file testSymbolicBayesTree.cpp.

◆ TEST() [14/16]

TEST ( SymbolicBayesTree  ,
forest_joint   
)

Definition at line 481 of file testSymbolicBayesTree.cpp.

◆ TEST() [15/16]

TEST ( SymbolicBayesTree  ,
linear_smoother_shortcuts   
)

Definition at line 507 of file testSymbolicBayesTree.cpp.

◆ TEST() [16/16]

TEST ( SymbolicBayesTree  ,
thinTree   
)

Definition at line 360 of file testSymbolicBayesTree.cpp.

Variable Documentation

◆ debug

bool debug = false
static

Definition at line 34 of file testSymbolicBayesTree.cpp.



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