Public Member Functions | |
def | test_evaluation (self) |
def | test_MPE (self) |
def | test_MPE_chain (self) |
def | test_optimize (self) |
def | test_sumProduct (self) |
def | test_sumProduct_chain (self) |
Public Member Functions inherited from gtsam.utils.test_case.GtsamTestCase | |
def | assertEqualityOnPickleRoundtrip |
def | gtsamAssertEquals (self, actual, expected, tol=1e-9) |
Tests for Discrete Factor Graphs.
Definition at line 23 of file test_DiscreteFactorGraph.py.
def test_DiscreteFactorGraph.TestDiscreteFactorGraph.test_evaluation | ( | self | ) |
Test constructing and evaluating a discrete factor graph.
Definition at line 26 of file test_DiscreteFactorGraph.py.
def test_DiscreteFactorGraph.TestDiscreteFactorGraph.test_MPE | ( | self | ) |
Test maximum probable explanation (MPE): same as optimize.
Definition at line 103 of file test_DiscreteFactorGraph.py.
def test_DiscreteFactorGraph.TestDiscreteFactorGraph.test_MPE_chain | ( | self | ) |
Test for numerical underflow in EliminateMPE on long chains. Adapted from the toy problem of @pcl15423 Ref: https://github.com/borglab/gtsam/issues/1448
Definition at line 159 of file test_DiscreteFactorGraph.py.
def test_DiscreteFactorGraph.TestDiscreteFactorGraph.test_optimize | ( | self | ) |
Test constructing and optizing a discrete factor graph.
Definition at line 80 of file test_DiscreteFactorGraph.py.
def test_DiscreteFactorGraph.TestDiscreteFactorGraph.test_sumProduct | ( | self | ) |
Test sumProduct.
Definition at line 131 of file test_DiscreteFactorGraph.py.
def test_DiscreteFactorGraph.TestDiscreteFactorGraph.test_sumProduct_chain | ( | self | ) |
Test for numerical underflow in EliminateDiscrete on long chains. Adapted from the toy problem of @pcl15423 Ref: https://github.com/borglab/gtsam/issues/1448
Definition at line 219 of file test_DiscreteFactorGraph.py.