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 
24 
25 namespace gtsam {
26 
27 // Forward declarations
28 class DiscreteEliminationTree;
29 
53 class GTSAM_EXPORT DiscreteJunctionTree
54  : public JunctionTree<DiscreteBayesTree, DiscreteFactorGraph> {
55  public:
57  Base;
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: ",
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