update wrapper
parent
4295903513
commit
347f4b2136
|
@ -138,10 +138,13 @@ virtual class DiscreteConditional : gtsam::DecisionTreeFactor {
|
||||||
gtsam::DecisionTreeFactor* likelihood(
|
gtsam::DecisionTreeFactor* likelihood(
|
||||||
const gtsam::DiscreteValues& frontalValues) const;
|
const gtsam::DiscreteValues& frontalValues) const;
|
||||||
gtsam::DecisionTreeFactor* likelihood(size_t value) const;
|
gtsam::DecisionTreeFactor* likelihood(size_t value) const;
|
||||||
size_t sample(const gtsam::DiscreteValues& parentsValues) const;
|
size_t sample(const gtsam::DiscreteValues& parentsValues,
|
||||||
size_t sample(size_t value) const;
|
std::mt19937_64 @rng = &kRandomNumberGenerator) const;
|
||||||
size_t sample() const;
|
size_t sample(size_t value,
|
||||||
void sampleInPlace(gtsam::DiscreteValues @parentsValues) const;
|
std::mt19937_64 @rng = &kRandomNumberGenerator) const;
|
||||||
|
size_t sample(std::mt19937_64 @rng = &kRandomNumberGenerator) const;
|
||||||
|
void sampleInPlace(gtsam::DiscreteValues @parentsValues,
|
||||||
|
std::mt19937_64 @rng = &kRandomNumberGenerator) const;
|
||||||
size_t argmax(const gtsam::DiscreteValues& parentsValues) const;
|
size_t argmax(const gtsam::DiscreteValues& parentsValues) const;
|
||||||
|
|
||||||
// Markdown and HTML
|
// Markdown and HTML
|
||||||
|
@ -233,8 +236,11 @@ class DiscreteBayesNet {
|
||||||
double evaluate(const gtsam::DiscreteValues& values) const;
|
double evaluate(const gtsam::DiscreteValues& values) const;
|
||||||
double operator()(const gtsam::DiscreteValues& values) const;
|
double operator()(const gtsam::DiscreteValues& values) const;
|
||||||
|
|
||||||
gtsam::DiscreteValues sample() const;
|
gtsam::DiscreteValues sample(std::mt19937_64
|
||||||
gtsam::DiscreteValues sample(gtsam::DiscreteValues given) const;
|
@rng = &kRandomNumberGenerator) const;
|
||||||
|
gtsam::DiscreteValues sample(gtsam::DiscreteValues given,
|
||||||
|
std::mt19937_64
|
||||||
|
@rng = &kRandomNumberGenerator) const;
|
||||||
|
|
||||||
string dot(
|
string dot(
|
||||||
const gtsam::KeyFormatter& keyFormatter = gtsam::DefaultKeyFormatter,
|
const gtsam::KeyFormatter& keyFormatter = gtsam::DefaultKeyFormatter,
|
||||||
|
|
Loading…
Reference in New Issue