Public Member Functions | List of all members
test_DiscreteBayesNet.TestDiscreteBayesNet Class Reference
Inheritance diagram for test_DiscreteBayesNet.TestDiscreteBayesNet:
Inheritance graph
[legend]

Public Member Functions

def test_Asia (self)
 
def test_constructor (self)
 
def test_dot (self)
 
def test_fragment (self)
 
- Public Member Functions inherited from gtsam.utils.test_case.GtsamTestCase
def assertEqualityOnPickleRoundtrip
 
def gtsamAssertEquals (self, actual, expected, tol=1e-9)
 

Detailed Description

Tests for Discrete Bayes Nets.

Definition at line 36 of file test_DiscreteBayesNet.py.

Member Function Documentation

◆ test_Asia()

def test_DiscreteBayesNet.TestDiscreteBayesNet.test_Asia (   self)
Test full Asia example.

Definition at line 58 of file test_DiscreteBayesNet.py.

◆ test_constructor()

def test_DiscreteBayesNet.TestDiscreteBayesNet.test_constructor (   self)
Test constructing a Bayes net.

Definition at line 39 of file test_DiscreteBayesNet.py.

◆ test_dot()

def test_DiscreteBayesNet.TestDiscreteBayesNet.test_dot (   self)
Check that dot works with position hints.

Definition at line 147 of file test_DiscreteBayesNet.py.

◆ test_fragment()

def test_DiscreteBayesNet.TestDiscreteBayesNet.test_fragment (   self)
Test evaluate/sampling/optimizing for Asia fragment.

Definition at line 117 of file test_DiscreteBayesNet.py.


The documentation for this class was generated from the following file:


gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:47:31