remove evaluate method

release/4.3a0
Varun Agrawal 2024-12-31 16:34:20 -05:00
parent 5e1931eb98
commit 3119d132ac
3 changed files with 0 additions and 12 deletions

View File

@ -478,10 +478,6 @@ double DiscreteConditional::evaluate(const HybridValues& x) const {
return this->evaluate(x.discrete()); return this->evaluate(x.discrete());
} }
/* ************************************************************************* */
double DiscreteConditional::evaluate(const Assignment<Key>& values) const {
return BaseFactor::evaluate(values);
}
/* ************************************************************************* */ /* ************************************************************************* */
void DiscreteConditional::setData(const DiscreteConditional::shared_ptr& dc) { void DiscreteConditional::setData(const DiscreteConditional::shared_ptr& dc) {

View File

@ -258,9 +258,6 @@ class GTSAM_EXPORT DiscreteConditional
*/ */
double evaluate(const HybridValues& x) const override; double evaluate(const HybridValues& x) const override;
/// Evaluate the conditional given values.
virtual double evaluate(const Assignment<Key>& values) const override;
using BaseConditional::operator(); ///< HybridValues version using BaseConditional::operator(); ///< HybridValues version
/** /**

View File

@ -175,11 +175,6 @@ class GTSAM_EXPORT DiscreteTableConditional : public DiscreteConditional {
/// @name Advanced Interface /// @name Advanced Interface
/// @{ /// @{
/// Evaluate the conditional given the values.
virtual double evaluate(const Assignment<Key>& values) const override {
return table_.evaluate(values);
}
/// Set the underlying data from the DiscreteConditional /// Set the underlying data from the DiscreteConditional
virtual void setData(const DiscreteConditional::shared_ptr& dc) override; virtual void setData(const DiscreteConditional::shared_ptr& dc) override;