Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
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
27
class
GTSAM_EXPORT
DiscreteEliminationTree
:
28
public
EliminationTree
<DiscreteBayesNet, DiscreteFactorGraph>
29
{
30
public
:
31
typedef
EliminationTree<DiscreteBayesNet, DiscreteFactorGraph>
Base
;
32
typedef
DiscreteEliminationTree
This
;
33
typedef
boost::shared_ptr<This>
shared_ptr
;
34
43
DiscreteEliminationTree
(
const
DiscreteFactorGraph
& factorGraph,
44
const
VariableIndex
& structure,
const
Ordering
& order);
45
51
DiscreteEliminationTree
(
const
DiscreteFactorGraph
& factorGraph,
52
const
Ordering
& order);
53
55
bool
equals
(
const
This& other,
double
tol
= 1
e
-9)
const
;
56
57
private
:
58
59
friend
class ::EliminationTreeTester;
60
61
};
62
63
}
gtsam::EliminationTree
Definition:
EliminationTree.h:51
DiscreteFactorGraph.h
gtsam::Ordering
Definition:
inference/Ordering.h:34
EliminationTree.h
gtsam::DiscreteEliminationTree::This
DiscreteEliminationTree This
This class.
Definition:
DiscreteEliminationTree.h:32
gtsam::equals
Definition:
Testable.h:110
gtsam::DiscreteEliminationTree::Base
EliminationTree< DiscreteBayesNet, DiscreteFactorGraph > Base
Base class.
Definition:
DiscreteEliminationTree.h:31
DiscreteBayesNet.h
e
Array< double, 1, 3 > e(1./3., 0.5, 2.)
gtsam
traits
Definition:
chartTesting.h:28
gtsam::VariableIndex
Definition:
VariableIndex.h:43
gtsam::DiscreteFactorGraph
Definition:
DiscreteFactorGraph.h:65
gtsam::DiscreteEliminationTree
Definition:
DiscreteEliminationTree.h:27
gtsam::DiscreteEliminationTree::shared_ptr
boost::shared_ptr< This > shared_ptr
Shared pointer to this class.
Definition:
DiscreteEliminationTree.h:33
gtsam::tol
const G double tol
Definition:
Group.h:83
gtsam
Author(s):
autogenerated on Sat May 8 2021 02:41:59