Go to the documentation of this file.
78 const std::string&
s =
"Discrete Prior: ",
93 std::vector<double> pmf()
const;
const KeyFormatter & formatter
KeyFormatter DefaultKeyFormatter
Assign default key formatter.
void print(const Matrix &A, const string &s, ostream &stream)
DiscreteDistribution(const DiscreteKey &key, const std::vector< double > &spec)
internal::enable_if< internal::valid_indexed_view_overload< RowIndices, ColIndices >::value &&internal::traits< typename EIGEN_INDEXED_VIEW_METHOD_TYPE< RowIndices, ColIndices >::type >::ReturnAsIndexedView, typename EIGEN_INDEXED_VIEW_METHOD_TYPE< RowIndices, ColIndices >::type >::type operator()(const RowIndices &rowIndices, const ColIndices &colIndices) EIGEN_INDEXED_VIEW_METHOD_CONST
std::function< std::string(Key)> KeyFormatter
Typedef for a function to format a key, i.e. to convert it to a string.
DiscreteDistribution(const DiscreteKey &key, const std::string &spec)
DiscreteDistribution()
Default constructor needed for serialization.
DiscreteDistribution(const Signature &s)
const gtsam::Symbol key('X', 0)
Point2(* f)(const Point3 &, OptionalJacobian< 2, 3 >)
DiscreteDistribution(const DecisionTreeFactor &f)
Constructor from factor.
std::pair< Key, size_t > DiscreteKey
gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:02:13