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, Add)
 
 TEST (HybridBayesNet, Choose)
 
 TEST (HybridBayesNet, Creation)
 
 TEST (HybridBayesNet, Error)
 
 TEST (HybridBayesNet, evaluateHybrid)
 
 TEST (HybridBayesNet, EvaluatePureDiscrete)
 
 TEST (HybridBayesNet, Optimize)
 
 TEST (HybridBayesNet, OptimizeAssignment)
 
 TEST (HybridBayesNet, Prune)
 
 TEST (HybridBayesNet, Pruning)
 
 TEST (HybridBayesNet, Sampling)
 
 TEST (HybridBayesNet, Tiny)
 
 TEST (HybridBayesNet, UpdateDiscreteConditionals)
 

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 ( )

Definition at line 446 of file testHybridBayesNet.cpp.

◆ TEST() [1/13]

TEST ( HybridBayesNet  ,
Add   
)

Definition at line 55 of file testHybridBayesNet.cpp.

◆ TEST() [2/13]

TEST ( HybridBayesNet  ,
Choose   
)

Definition at line 129 of file testHybridBayesNet.cpp.

◆ TEST() [3/13]

TEST ( HybridBayesNet  ,
Creation   
)

Definition at line 44 of file testHybridBayesNet.cpp.

◆ TEST() [4/13]

TEST ( HybridBayesNet  ,
Error   
)

Definition at line 158 of file testHybridBayesNet.cpp.

◆ TEST() [5/13]

TEST ( HybridBayesNet  ,
evaluateHybrid   
)

Definition at line 95 of file testHybridBayesNet.cpp.

◆ TEST() [6/13]

TEST ( HybridBayesNet  ,
EvaluatePureDiscrete   
)

Definition at line 66 of file testHybridBayesNet.cpp.

◆ TEST() [7/13]

TEST ( HybridBayesNet  ,
Optimize   
)

Definition at line 226 of file testHybridBayesNet.cpp.

◆ TEST() [8/13]

TEST ( HybridBayesNet  ,
OptimizeAssignment   
)

Definition at line 197 of file testHybridBayesNet.cpp.

◆ TEST() [9/13]

TEST ( HybridBayesNet  ,
Prune   
)

Definition at line 301 of file testHybridBayesNet.cpp.

◆ TEST() [10/13]

TEST ( HybridBayesNet  ,
Pruning   
)

Definition at line 252 of file testHybridBayesNet.cpp.

◆ TEST() [11/13]

TEST ( HybridBayesNet  ,
Sampling   
)

Definition at line 380 of file testHybridBayesNet.cpp.

◆ TEST() [12/13]

TEST ( HybridBayesNet  ,
Tiny   
)

Definition at line 76 of file testHybridBayesNet.cpp.

◆ TEST() [13/13]

TEST ( HybridBayesNet  ,
UpdateDiscreteConditionals   
)

Definition at line 319 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 Jun 25 2024 03:08:07