gtsam
discrete
DiscreteEliminationTree.cpp
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
#include <
gtsam/inference/EliminationTree-inst.h
>
20
#include <
gtsam/discrete/DiscreteEliminationTree.h
>
21
22
namespace
gtsam
{
23
24
// Instantiate base class
25
template
class
EliminationTree<DiscreteBayesNet, DiscreteFactorGraph>;
26
27
/* ************************************************************************* */
28
DiscreteEliminationTree::DiscreteEliminationTree
(
29
const
DiscreteFactorGraph
& factorGraph,
const
VariableIndex
& structure,
30
const
Ordering
& order) :
31
Base
(factorGraph, structure, order) {}
32
33
/* ************************************************************************* */
34
DiscreteEliminationTree::DiscreteEliminationTree
(
35
const
DiscreteFactorGraph
& factorGraph,
const
Ordering
& order) :
36
Base
(factorGraph, order) {}
37
38
/* ************************************************************************* */
39
bool
DiscreteEliminationTree::equals
(
const
This
&
other
,
double
tol
)
const
40
{
41
return
Base::equals
(other, tol);
42
}
43
44
}
gtsam::EliminationTree< DiscreteBayesNet, DiscreteFactorGraph >::equals
bool equals(const This &other, double tol=1e-9) const
Definition:
EliminationTree-inst.h:251
gtsam::EliminationTree< DiscreteBayesNet, DiscreteFactorGraph >
gtsam::DiscreteEliminationTree::equals
bool equals(const This &other, double tol=1e-9) const
Definition:
DiscreteEliminationTree.cpp:39
gtsam::Ordering
Definition:
inference/Ordering.h:37
gtsam::DiscreteEliminationTree::DiscreteEliminationTree
DiscreteEliminationTree(const DiscreteFactorGraph &factorGraph, const VariableIndex &structure, const Ordering &order)
Definition:
DiscreteEliminationTree.cpp:28
DiscreteEliminationTree.h
pybind_wrapper_test_script.other
other
Definition:
pybind_wrapper_test_script.py:42
gtsam
traits
Definition:
chartTesting.h:28
gtsam::VariableIndex
Definition:
VariableIndex.h:41
gtsam::DiscreteFactorGraph
Definition:
DiscreteFactorGraph.h:83
gtsam::DiscreteEliminationTree
Elimination tree for discrete factors.
Definition:
DiscreteEliminationTree.h:31
EliminationTree-inst.h
gtsam::tol
const G double tol
Definition:
Group.h:86
gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:34:10