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

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
None assertEqualityOnPickleRoundtrip (self, object obj, tol=1e-9)
 
def gtsamAssertEquals (self, actual, expected, tol=1e-9)
 

Detailed Description

Tests for Discrete Factor Graphs.

Definition at line 23 of file test_DiscreteFactorGraph.py.

Member Function Documentation

◆ test_evaluation()

def test_DiscreteFactorGraph.TestDiscreteFactorGraph.test_evaluation (   self)
Test constructing and evaluating a discrete factor graph.

Definition at line 26 of file test_DiscreteFactorGraph.py.

◆ test_MPE()

def test_DiscreteFactorGraph.TestDiscreteFactorGraph.test_MPE (   self)
Test maximum probable explanation (MPE): same as optimize.

Definition at line 103 of file test_DiscreteFactorGraph.py.

◆ test_MPE_chain()

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.

◆ test_optimize()

def test_DiscreteFactorGraph.TestDiscreteFactorGraph.test_optimize (   self)
Test constructing and optizing a discrete factor graph.

Definition at line 80 of file test_DiscreteFactorGraph.py.

◆ test_sumProduct()

def test_DiscreteFactorGraph.TestDiscreteFactorGraph.test_sumProduct (   self)
Test sumProduct.

Definition at line 131 of file test_DiscreteFactorGraph.py.

◆ test_sumProduct_chain()

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.


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


gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:16:52