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::DiscreteFactorGraph
Definition:
DiscreteFactorGraph.h:99
gtsam::EliminationTree< DiscreteBayesNet, DiscreteFactorGraph >
EliminationTree-inst.h
gtsam::DiscreteEliminationTree
Elimination tree for discrete factors.
Definition:
DiscreteEliminationTree.h:31
gtsam::DiscreteEliminationTree::DiscreteEliminationTree
DiscreteEliminationTree(const DiscreteFactorGraph &factorGraph, const VariableIndex &structure, const Ordering &order)
Definition:
DiscreteEliminationTree.cpp:28
DiscreteEliminationTree.h
gtsam::VariableIndex
Definition:
VariableIndex.h:41
gtsam::DiscreteEliminationTree::equals
bool equals(const This &other, double tol=1e-9) const
Definition:
DiscreteEliminationTree.cpp:39
gtsam
traits
Definition:
SFMdata.h:40
gtsam::tol
const G double tol
Definition:
Group.h:79
gtsam::EliminationTree< DiscreteBayesNet, DiscreteFactorGraph >::equals
bool equals(const This &other, double tol=1e-9) const
Definition:
EliminationTree-inst.h:252
gtsam::Ordering
Definition:
inference/Ordering.h:33
pybind_wrapper_test_script.other
other
Definition:
pybind_wrapper_test_script.py:42
gtsam
Author(s):
autogenerated on Sun Dec 22 2024 04:11:28