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_optimize (self)
 
def test_sumProduct (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)
 

Detailed Description

Tests for Discrete Factor Graphs.

Definition at line 32 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 35 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 111 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 89 of file test_DiscreteFactorGraph.py.

◆ test_sumProduct()

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

Definition at line 137 of file test_DiscreteFactorGraph.py.


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


gtsam
Author(s):
autogenerated on Fri Mar 28 2025 03:16:39