Go to the documentation of this file.
32 class DiscreteBayesNet;
55 const ADT& potentials)
68 potentials.toDecisionTreeFactor()) {}
72 const std::string&
s =
"Discrete Lookup Table: ",
119 template <
typename... Args>
121 emplace_shared<DiscreteLookupTable>(std::forward<Args>(
args)...);
139 #if GTSAM_ENABLE_BOOST_SERIALIZATION
141 friend class boost::serialization::access;
142 template <
class ARCHIVE>
143 void serialize(ARCHIVE& ar,
const unsigned int ) {
144 ar& BOOST_SERIALIZATION_BASE_OBJECT_NVP(
Base);
DiscreteLookupTable(size_t nFrontals, const DiscreteKeys &keys, const ADT &potentials)
Construct a new Discrete Lookup Table object.
Array< double, 1, 3 > e(1./3., 0.5, 2.)
void add(Args &&... args)
const KeyFormatter & formatter
DiscreteKeys is a set of keys that can be assembled using the & operator.
std::shared_ptr< DecisionTreeFactor > shared_ptr
KeyFormatter DefaultKeyFormatter
Assign default key formatter.
void print(const Matrix &A, const string &s, ostream &stream)
const HybridBayesNet bayesNet
std::function< std::string(Key)> KeyFormatter
Typedef for a function to format a key, i.e. to convert it to a string.
DiscreteLookupTable(size_t nFrontals, const DiscreteKeys &keys, const TableFactor &potentials)
Construct a new Discrete Lookup Table object.
DiscreteLookupTable table for max-product.
DiscreteLookupDAG()
Construct empty DAG.
std::shared_ptr< This > shared_ptr
gtsam
Author(s):
autogenerated on Tue Jan 7 2025 04:02:11