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 | assertDeepCopyEquality (self, obj) |
None | assertEqualityOnPickleRoundtrip (self, object obj, tol=1e-9) |
def | gtsamAssertEquals (self, actual, expected, tol=1e-9) |
Tests for Discrete Bayes Nets.
Definition at line 36 of file test_DiscreteBayesNet.py.
def test_DiscreteBayesNet.TestDiscreteBayesNet.test_Asia | ( | self | ) |
Test full Asia example.
Definition at line 58 of file test_DiscreteBayesNet.py.
def test_DiscreteBayesNet.TestDiscreteBayesNet.test_constructor | ( | self | ) |
Test constructing a Bayes net.
Definition at line 39 of file test_DiscreteBayesNet.py.
def test_DiscreteBayesNet.TestDiscreteBayesNet.test_dot | ( | self | ) |
Check that dot works with position hints.
Definition at line 147 of file test_DiscreteBayesNet.py.
def test_DiscreteBayesNet.TestDiscreteBayesNet.test_fragment | ( | self | ) |
Test evaluate/sampling/optimizing for Asia fragment.
Definition at line 117 of file test_DiscreteBayesNet.py.