remove evaluate method
parent
5e1931eb98
commit
3119d132ac
|
|
@ -478,10 +478,6 @@ double DiscreteConditional::evaluate(const HybridValues& x) const {
|
|||
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) {
|
||||
|
|
|
|||
|
|
@ -258,9 +258,6 @@ class GTSAM_EXPORT DiscreteConditional
|
|||
*/
|
||||
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
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -175,11 +175,6 @@ class GTSAM_EXPORT DiscreteTableConditional : public DiscreteConditional {
|
|||
/// @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
|
||||
virtual void setData(const DiscreteConditional::shared_ptr& dc) override;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue