Loading...
Searching...
No Matches
SymbolicEliminationTree.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/symbolic/SymbolicBayesNet.h>
#include <gtsam/symbolic/SymbolicFactorGraph.h>
#include <gtsam/inference/EliminationTree.h>
namespace gtsam {
class GTSAM_EXPORT SymbolicEliminationTree :
public EliminationTree<SymbolicBayesNet, SymbolicFactorGraph>
{
public:
typedef EliminationTree<SymbolicBayesNet, SymbolicFactorGraph> Base;
typedef SymbolicEliminationTree This;
typedef boost::shared_ptr<This> shared_ptr;
SymbolicEliminationTree(const SymbolicFactorGraph& factorGraph,
const VariableIndex& structure, const Ordering& order);
SymbolicEliminationTree(const SymbolicFactorGraph& factorGraph,
const Ordering& order);
bool equals(const This& other, double tol = 1e-9) const;
private:
SymbolicEliminationTree() {}
friend class ::EliminationTreeTester;
};
template<>
struct traits<SymbolicEliminationTree> : public Testable<SymbolicEliminationTree> {
};
} //\ namespace gtsam
EliminationTree.h
SymbolicBayesNet.h
SymbolicFactorGraph.h
gtsam
Global functions in a separate testing namespace.
Definition chartTesting.h:28
gtsam::traits
A manifold defines a space in which there is a notion of a linear tangent space that can be centered ...
Definition concepts.h:30
gtsam::Testable
A helper that implements the traits interface for GTSAM types.
Definition Testable.h:151
gtsam::EliminationTree< SymbolicBayesNet, SymbolicFactorGraph >::EliminationTree
EliminationTree(const FactorGraphType &factorGraph, const VariableIndex &structure, const Ordering &order)
gtsam::Ordering
Definition Ordering.h:34
gtsam::VariableIndex
The VariableIndex class computes and stores the block column structure of a factor graph.
Definition VariableIndex.h:43
gtsam::SymbolicEliminationTree
Definition SymbolicEliminationTree.h:29
gtsam::SymbolicEliminationTree::equals
bool equals(const This &other, double tol=1e-9) const
Test whether the tree is equal to another.
Definition SymbolicEliminationTree.cpp:39
gtsam::SymbolicEliminationTree::shared_ptr
boost::shared_ptr< This > shared_ptr
Shared pointer to this class.
Definition SymbolicEliminationTree.h:33
gtsam::SymbolicEliminationTree::Base
EliminationTree< SymbolicBayesNet, SymbolicFactorGraph > Base
Base class.
Definition SymbolicEliminationTree.h:31
gtsam::SymbolicEliminationTree::This
SymbolicEliminationTree This
This class.
Definition SymbolicEliminationTree.h:32
gtsam::SymbolicEliminationTree::SymbolicEliminationTree
SymbolicEliminationTree(const SymbolicFactorGraph &factorGraph, const VariableIndex &structure, const Ordering &order)
Build the elimination tree of a factor graph using pre-computed column structure.
Definition SymbolicEliminationTree.cpp:28
gtsam::SymbolicFactorGraph
Symbolic Factor Graph.
Definition SymbolicFactorGraph.h:64