gtsam
discrete
DiscreteEliminationTree.h
Go to the documentation of this file.
1
/* ----------------------------------------------------------------------------
2
3
* GTSAM Copyright 2010, Georgia Tech Research Corporation,
4
* Atlanta, Georgia 30332-0415
5
* All Rights Reserved
6
* Authors: Frank Dellaert, et al. (see THANKS for the full author list)
7
8
* See LICENSE for the license information
9
10
* -------------------------------------------------------------------------- */
11
19
#pragma once
20
21
#include <
gtsam/discrete/DiscreteBayesNet.h
>
22
#include <
gtsam/discrete/DiscreteFactorGraph.h
>
23
#include <
gtsam/inference/EliminationTree.h
>
24
25
namespace
gtsam
{
26
31
class
GTSAM_EXPORT
DiscreteEliminationTree
:
32
public
EliminationTree
<DiscreteBayesNet, DiscreteFactorGraph>
33
{
34
public
:
35
typedef
EliminationTree<DiscreteBayesNet, DiscreteFactorGraph>
Base
;
36
typedef
DiscreteEliminationTree
This
;
37
typedef
std::shared_ptr<This>
shared_ptr
;
38
47
DiscreteEliminationTree
(
const
DiscreteFactorGraph
& factorGraph,
48
const
VariableIndex
& structure,
const
Ordering
& order);
49
55
DiscreteEliminationTree
(
const
DiscreteFactorGraph
& factorGraph,
56
const
Ordering
& order);
57
59
bool
equals
(
const
This&
other
,
double
tol
= 1
e
-9)
const
;
60
61
private
:
62
63
friend
class ::EliminationTreeTester;
64
65
};
66
67
}
gtsam::EliminationTree
Definition:
EliminationTree.h:51
DiscreteFactorGraph.h
gtsam::Ordering
Definition:
inference/Ordering.h:37
EliminationTree.h
gtsam::DiscreteEliminationTree::This
DiscreteEliminationTree This
This class.
Definition:
DiscreteEliminationTree.h:36
gtsam::equals
Definition:
Testable.h:112
gtsam::DiscreteEliminationTree::Base
EliminationTree< DiscreteBayesNet, DiscreteFactorGraph > Base
Base class.
Definition:
DiscreteEliminationTree.h:35
DiscreteBayesNet.h
e
Array< double, 1, 3 > e(1./3., 0.5, 2.)
pybind_wrapper_test_script.other
other
Definition:
pybind_wrapper_test_script.py:42
gtsam
traits
Definition:
chartTesting.h:28
gtsam::DiscreteEliminationTree::shared_ptr
std::shared_ptr< This > shared_ptr
Shared pointer to this class.
Definition:
DiscreteEliminationTree.h:37
gtsam::VariableIndex
Definition:
VariableIndex.h:41
gtsam::DiscreteFactorGraph
Definition:
DiscreteFactorGraph.h:83
gtsam::DiscreteEliminationTree
Elimination tree for discrete factors.
Definition:
DiscreteEliminationTree.h:31
gtsam::tol
const G double tol
Definition:
Group.h:86
gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:34:10