Functions | Variables
testHybridBayesNet.cpp File Reference

Unit tests for HybridBayesNet. More...

#include <gtsam/hybrid/HybridBayesNet.h>
#include <gtsam/hybrid/HybridBayesTree.h>
#include <gtsam/nonlinear/NonlinearFactorGraph.h>
#include "Switching.h"
#include "TinyHybridExample.h"
#include <CppUnitLite/TestHarness.h>
Include dependency graph for testHybridBayesNet.cpp:

Go to the source code of this file.

Functions

static const DiscreteKey Asia (asiaKey, 2)
 
int main ()
 
 TEST (HybridBayesNet, Creation)
 
 TEST (HybridBayesNet, Add)
 
 TEST (HybridBayesNet, EvaluatePureDiscrete)
 
 TEST (HybridBayesNet, Tiny)
 
 TEST (HybridBayesNet, evaluateHybrid)
 
 TEST (HybridBayesNet, Choose)
 
 TEST (HybridBayesNet, OptimizeAssignment)
 
 TEST (HybridBayesNet, Optimize)
 
 TEST (HybridBayesNet, Pruning)
 
 TEST (HybridBayesNet, Prune)
 
 TEST (HybridBayesNet, UpdateDiscreteConditionals)
 
 TEST (HybridBayesNet, Sampling)
 

Variables

static const Key asiaKey = 0
 

Detailed Description

Unit tests for HybridBayesNet.

Author
Varun Agrawal
Fan Jiang
Frank Dellaert
Date
December 2021

Definition in file testHybridBayesNet.cpp.

Function Documentation

◆ Asia()

static const DiscreteKey Asia ( asiaKey  ,
 
)
static

◆ main()

int main ( void  )

Definition at line 391 of file testHybridBayesNet.cpp.

◆ TEST() [1/12]

TEST ( HybridBayesNet  ,
Creation   
)

Definition at line 44 of file testHybridBayesNet.cpp.

◆ TEST() [2/12]

TEST ( HybridBayesNet  ,
Add   
)

Definition at line 55 of file testHybridBayesNet.cpp.

◆ TEST() [3/12]

TEST ( HybridBayesNet  ,
EvaluatePureDiscrete   
)

Definition at line 66 of file testHybridBayesNet.cpp.

◆ TEST() [4/12]

TEST ( HybridBayesNet  ,
Tiny   
)

Definition at line 76 of file testHybridBayesNet.cpp.

◆ TEST() [5/12]

TEST ( HybridBayesNet  ,
evaluateHybrid   
)

Definition at line 95 of file testHybridBayesNet.cpp.

◆ TEST() [6/12]

TEST ( HybridBayesNet  ,
Choose   
)

Definition at line 129 of file testHybridBayesNet.cpp.

◆ TEST() [7/12]

TEST ( HybridBayesNet  ,
OptimizeAssignment   
)

Definition at line 158 of file testHybridBayesNet.cpp.

◆ TEST() [8/12]

TEST ( HybridBayesNet  ,
Optimize   
)

Definition at line 187 of file testHybridBayesNet.cpp.

◆ TEST() [9/12]

TEST ( HybridBayesNet  ,
Pruning   
)

Definition at line 213 of file testHybridBayesNet.cpp.

◆ TEST() [10/12]

TEST ( HybridBayesNet  ,
Prune   
)

Definition at line 260 of file testHybridBayesNet.cpp.

◆ TEST() [11/12]

TEST ( HybridBayesNet  ,
UpdateDiscreteConditionals   
)

Definition at line 278 of file testHybridBayesNet.cpp.

◆ TEST() [12/12]

TEST ( HybridBayesNet  ,
Sampling   
)

Definition at line 325 of file testHybridBayesNet.cpp.

Variable Documentation

◆ asiaKey

const Key asiaKey = 0
static

Definition at line 39 of file testHybridBayesNet.cpp.



gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:40:55