Loading...
Searching...
No Matches
DiscreteJunctionTree.h
Go to the documentation of this file.
/* ----------------------------------------------------------------------------
* GTSAM Copyright 2010, Georgia Tech Research Corporation,
* Atlanta, Georgia 30332-0415
* All Rights Reserved
* Authors: Frank Dellaert, et al. (see THANKS for the full author list)
* See LICENSE for the license information
* -------------------------------------------------------------------------- */
#pragma once
#include <gtsam/discrete/DiscreteFactorGraph.h>
#include <gtsam/discrete/DiscreteBayesTree.h>
#include <gtsam/inference/JunctionTree.h>
namespace gtsam {
// Forward declarations
class DiscreteEliminationTree;
class GTSAM_EXPORT DiscreteJunctionTree :
public JunctionTree<DiscreteBayesTree, DiscreteFactorGraph> {
public:
typedef JunctionTree<DiscreteBayesTree, DiscreteFactorGraph> Base;
typedef DiscreteJunctionTree This;
typedef boost::shared_ptr<This> shared_ptr;
DiscreteJunctionTree(const DiscreteEliminationTree& eliminationTree);
};
using DiscreteCluster = DiscreteJunctionTree::Cluster;
}
DiscreteBayesTree.h
Discrete Bayes Tree, the result of eliminating a DiscreteJunctionTree.
DiscreteFactorGraph.h
JunctionTree.h
The junction tree.
gtsam
Global functions in a separate testing namespace.
Definition chartTesting.h:28
gtsam::DiscreteCluster
DiscreteJunctionTree::Cluster DiscreteCluster
typedef for wrapper:
Definition DiscreteJunctionTree.h:70
gtsam::DiscreteEliminationTree
Elimination tree for discrete factors.
Definition DiscreteEliminationTree.h:33
gtsam::DiscreteJunctionTree::Base
JunctionTree< DiscreteBayesTree, DiscreteFactorGraph > Base
Base class.
Definition DiscreteJunctionTree.h:54
gtsam::DiscreteJunctionTree::DiscreteJunctionTree
DiscreteJunctionTree(const DiscreteEliminationTree &eliminationTree)
Build the elimination tree of a factor graph using precomputed column structure.
Definition DiscreteJunctionTree.cpp:30
gtsam::DiscreteJunctionTree::shared_ptr
boost::shared_ptr< This > shared_ptr
Shared pointer to this class.
Definition DiscreteJunctionTree.h:56
gtsam::DiscreteJunctionTree::This
DiscreteJunctionTree This
This class.
Definition DiscreteJunctionTree.h:55
gtsam::ClusterTree::Cluster
A Cluster is just a collection of factors.
Definition ClusterTree.h:36
gtsam::JunctionTree< DiscreteBayesTree, DiscreteFactorGraph >::JunctionTree
JunctionTree(const EliminationTree< ETREE_BAYESNET, ETREE_GRAPH > &eliminationTree)