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
}
DiscreteBayesNet.h
gtsam::DiscreteFactorGraph
Definition:
DiscreteFactorGraph.h:99
e
Array< double, 1, 3 > e(1./3., 0.5, 2.)
DiscreteFactorGraph.h
gtsam::DiscreteEliminationTree::shared_ptr
std::shared_ptr< This > shared_ptr
Shared pointer to this class.
Definition:
DiscreteEliminationTree.h:37
gtsam::EliminationTree
Definition:
EliminationTree.h:51
gtsam::DiscreteEliminationTree
Elimination tree for discrete factors.
Definition:
DiscreteEliminationTree.h:31
gtsam::VariableIndex
Definition:
VariableIndex.h:41
gtsam::equals
Definition:
Testable.h:112
gtsam
traits
Definition:
SFMdata.h:40
gtsam::tol
const G double tol
Definition:
Group.h:79
EliminationTree.h
gtsam::Ordering
Definition:
inference/Ordering.h:33
pybind_wrapper_test_script.other
other
Definition:
pybind_wrapper_test_script.py:42
gtsam::DiscreteEliminationTree::Base
EliminationTree< DiscreteBayesNet, DiscreteFactorGraph > Base
Base class.
Definition:
DiscreteEliminationTree.h:35
gtsam::DiscreteEliminationTree::This
DiscreteEliminationTree This
This class.
Definition:
DiscreteEliminationTree.h:36
gtsam
Author(s):
autogenerated on Sun Dec 22 2024 04:11:28