evaluate needed for correct test results
parent
782f39a0e2
commit
e854d15033
|
@ -161,6 +161,13 @@ class GTSAM_EXPORT DiscreteTableConditional : public DiscreteConditional {
|
||||||
/// Return the underlying TableFactor
|
/// Return the underlying TableFactor
|
||||||
TableFactor table() const { return table_; }
|
TableFactor table() const { return table_; }
|
||||||
|
|
||||||
|
using BaseConditional::evaluate; // HybridValues version
|
||||||
|
|
||||||
|
/// Evaluate the conditional given the values.
|
||||||
|
virtual double evaluate(const Assignment<Key>& values) const override {
|
||||||
|
return table_.evaluate(values);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Create new conditional by maximizing over all
|
* @brief Create new conditional by maximizing over all
|
||||||
* values with the same separator.
|
* values with the same separator.
|
||||||
|
|
Loading…
Reference in New Issue