diff --git a/cpp/subprojects/common/include/mlrl/common/rule_refinement/prediction.hpp b/cpp/subprojects/common/include/mlrl/common/rule_refinement/prediction.hpp index b0223eaeb..04a31fabe 100644 --- a/cpp/subprojects/common/include/mlrl/common/rule_refinement/prediction.hpp +++ b/cpp/subprojects/common/include/mlrl/common/rule_refinement/prediction.hpp @@ -41,22 +41,6 @@ class IPrediction : public IIndexVector { */ virtual void postProcess(const IPostProcessor& postProcessor) = 0; - /** - * Sets the scores that are stored by this prediction to the values in a given iterator. - * - * @param begin An iterator to the beginning of the values to be set - * @param end An iterator to the end of the values to be set - */ - virtual void set(View::const_iterator begin, View::const_iterator end) = 0; - - /** - * Sets the scores that are stored by this prediction to the values in a given iterator. - * - * @param begin An iterator to the beginning of the values to be set - * @param end An iterator to the end of the values to be set - */ - virtual void set(BinnedIterator begin, BinnedIterator end) = 0; - /** * Creates and returns an object of type `IStatistics::IUpdate` that allows updating given `IStatistics` based * on this prediction. diff --git a/cpp/subprojects/common/include/mlrl/common/rule_refinement/prediction_complete.hpp b/cpp/subprojects/common/include/mlrl/common/rule_refinement/prediction_complete.hpp index 71b15e0a3..b597d067e 100644 --- a/cpp/subprojects/common/include/mlrl/common/rule_refinement/prediction_complete.hpp +++ b/cpp/subprojects/common/include/mlrl/common/rule_refinement/prediction_complete.hpp @@ -88,10 +88,6 @@ class CompletePrediction final : public VectorDecorator void postProcess(const IPostProcessor& postProcessor) override; - void set(View::const_iterator begin, View::const_iterator end) override final; - - void set(BinnedIterator begin, BinnedIterator end) override final; - bool isPartial() const override; uint32 getIndex(uint32 pos) const override; diff --git a/cpp/subprojects/common/include/mlrl/common/rule_refinement/prediction_partial.hpp b/cpp/subprojects/common/include/mlrl/common/rule_refinement/prediction_partial.hpp index 7a494e8ad..0734410ed 100644 --- a/cpp/subprojects/common/include/mlrl/common/rule_refinement/prediction_partial.hpp +++ b/cpp/subprojects/common/include/mlrl/common/rule_refinement/prediction_partial.hpp @@ -122,10 +122,6 @@ class PartialPrediction final : public ResizableVectorDecorator::const_iterator begin, View::const_iterator end) override final; - - void set(BinnedIterator begin, BinnedIterator end) override final; - bool isPartial() const override; uint32 getIndex(uint32 pos) const override; diff --git a/cpp/subprojects/common/src/mlrl/common/rule_refinement/prediction_complete.cpp b/cpp/subprojects/common/src/mlrl/common/rule_refinement/prediction_complete.cpp index daeedb0fa..c4b42aeac 100644 --- a/cpp/subprojects/common/src/mlrl/common/rule_refinement/prediction_complete.cpp +++ b/cpp/subprojects/common/src/mlrl/common/rule_refinement/prediction_complete.cpp @@ -42,14 +42,6 @@ void CompletePrediction::postProcess(const IPostProcessor& postProcessor) { postProcessor.postProcess(this->values_begin(), this->values_end()); } -void CompletePrediction::set(View::const_iterator begin, View::const_iterator end) { - util::copyView(begin, this->view.begin(), this->getNumElements()); -} - -void CompletePrediction::set(BinnedIterator begin, BinnedIterator end) { - util::copyView(begin, this->view.begin(), this->getNumElements()); -} - bool CompletePrediction::isPartial() const { return false; } diff --git a/cpp/subprojects/common/src/mlrl/common/rule_refinement/prediction_partial.cpp b/cpp/subprojects/common/src/mlrl/common/rule_refinement/prediction_partial.cpp index 729d942c9..3fa147b0e 100644 --- a/cpp/subprojects/common/src/mlrl/common/rule_refinement/prediction_partial.cpp +++ b/cpp/subprojects/common/src/mlrl/common/rule_refinement/prediction_partial.cpp @@ -88,14 +88,6 @@ void PartialPrediction::postProcess(const IPostProcessor& postProcessor) { postProcessor.postProcess(this->values_begin(), this->values_end()); } -void PartialPrediction::set(View::const_iterator begin, View::const_iterator end) { - util::copyView(begin, this->view.begin(), this->getNumElements()); -} - -void PartialPrediction::set(BinnedIterator begin, BinnedIterator end) { - util::copyView(begin, this->view.begin(), this->getNumElements()); -} - bool PartialPrediction::isPartial() const { return true; }