Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Enumerations
a
c
d
e
f
g
i
k
l
m
n
p
q
r
s
t
u
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Classes
Class List
Class Hierarchy
Class Members
All
!
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
!
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
f
k
l
m
n
o
p
r
s
t
v
z
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Related Functions
:
a
b
c
d
e
g
h
i
l
m
n
o
p
r
s
t
u
v
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
x
z
Enumerations
Enumerator
b
c
e
f
g
i
l
m
n
o
p
r
s
t
u
v
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
gtsam
discrete
DiscreteJunctionTree.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/DiscreteBayesTree.h
>
22
#include <
gtsam/discrete/DiscreteFactorGraph.h
>
23
#include <
gtsam/inference/JunctionTree.h
>
24
25
namespace
gtsam
{
26
27
// Forward declarations
28
class
DiscreteEliminationTree;
29
53
class
GTSAM_EXPORT
DiscreteJunctionTree
54
:
public
JunctionTree
<DiscreteBayesTree, DiscreteFactorGraph> {
55
public
:
56
typedef
JunctionTree<DiscreteBayesTree, DiscreteFactorGraph>
57
Base
;
58
typedef
DiscreteJunctionTree
This
;
59
typedef
std::shared_ptr<This>
shared_ptr
;
60
63
73
DiscreteJunctionTree
(
const
DiscreteEliminationTree
& eliminationTree);
74
78
80
void
print
(
const
std::string&
name
=
"DiscreteJunctionTree: "
,
81
const
KeyFormatter
&
formatter
=
DefaultKeyFormatter
)
const
;
82
84
};
85
87
using
DiscreteCluster
= DiscreteJunctionTree::Cluster;
88
}
// namespace gtsam
gtsam::DiscreteJunctionTree::This
DiscreteJunctionTree This
This class.
Definition:
DiscreteJunctionTree.h:58
name
Annotation for function names.
Definition:
attr.h:51
DiscreteFactorGraph.h
formatter
const KeyFormatter & formatter
Definition:
treeTraversal-inst.h:204
JunctionTree.h
The junction tree.
gtsam::DefaultKeyFormatter
KeyFormatter DefaultKeyFormatter
Assign default key formatter.
Definition:
Key.cpp:30
gtsam::DiscreteJunctionTree
Definition:
DiscreteJunctionTree.h:53
gtsam::print
void print(const Matrix &A, const string &s, ostream &stream)
Definition:
Matrix.cpp:145
gtsam::DiscreteJunctionTree::Base
JunctionTree< DiscreteBayesTree, DiscreteFactorGraph > Base
Base class.
Definition:
DiscreteJunctionTree.h:57
gtsam::DiscreteEliminationTree
Elimination tree for discrete factors.
Definition:
DiscreteEliminationTree.h:31
gtsam::KeyFormatter
std::function< std::string(Key)> KeyFormatter
Typedef for a function to format a key, i.e. to convert it to a string.
Definition:
Key.h:35
gtsam::DiscreteJunctionTree::shared_ptr
std::shared_ptr< This > shared_ptr
Shared pointer to this class.
Definition:
DiscreteJunctionTree.h:59
DiscreteBayesTree.h
Discrete Bayes Tree, the result of eliminating a DiscreteJunctionTree.
gtsam
traits
Definition:
SFMdata.h:40
gtsam::JunctionTree
Definition:
JunctionTree.h:50
gtsam::DiscreteCluster
DiscreteJunctionTree::Cluster DiscreteCluster
typedef for wrapper:
Definition:
DiscreteJunctionTree.h:87
gtsam
Author(s):
autogenerated on Wed Mar 19 2025 03:01:36