37 typedef boost::shared_ptr<This> shared_ptr;
38 typedef boost::shared_ptr<ConditionalType> sharedConditional;
47 template<
typename ITERATOR>
48 SymbolicBayesNet(ITERATOR firstConditional, ITERATOR lastConditional) :
Base(firstConditional, lastConditional) {}
51 template<
class CONTAINER>
55 template<
class DERIVEDCONDITIONAL>
64 bool equals(
const This& bn,
double tol = 1e-9)
const;
71 void saveGraph(
const std::string &s,
const KeyFormatter& keyFormatter = DefaultKeyFormatter)
const;
77 friend class boost::serialization::access;
78 template<
class ARCHIVE>
79 void serialize(ARCHIVE & ar,
const unsigned int ) {
80 ar & BOOST_SERIALIZATION_BASE_OBJECT_NVP(
Base);
SymbolicBayesNet()
Construct empty factor graph.
Definition: SymbolicBayesNet.h:44
Symbolic Bayes Net.
Definition: SymbolicBayesNet.h:30
Template to create a binary predicate.
Definition: Testable.h:110
A helper that implements the traits interface for GTSAM types.
Definition: Testable.h:150
boost::function< std::string(Key)> KeyFormatter
Typedef for a function to format a key, i.e. to convert it to a string.
Definition: Key.h:33
SymbolicConditional is a conditional with keys but no probability data, produced by symbolic eliminat...
Definition: SymbolicConditional.h:36
SymbolicBayesNet(ITERATOR firstConditional, ITERATOR lastConditional)
Construct from iterator over conditionals.
Definition: SymbolicBayesNet.h:48
A manifold defines a space in which there is a notion of a linear tangent space that can be centered ...
Definition: concepts.h:30
A factor graph is a bipartite graph with factor nodes connected to variable nodes.
Definition: BayesTree.h:32
SymbolicBayesNet(const CONTAINER &conditionals)
Construct from container of factors (shared_ptr or plain objects)
Definition: SymbolicBayesNet.h:52
SymbolicBayesNet(const FactorGraph< DERIVEDCONDITIONAL > &graph)
Implicit copy/downcast constructor to override explicit template container constructor.
Definition: SymbolicBayesNet.h:56
Global functions in a separate testing namespace.
Definition: chartTesting.h:28
Typedefs for easier changing of types.