From 2007ebb8e431d1341583a03c22d440a7d0f79194 Mon Sep 17 00:00:00 2001 From: Samuel Fadel Date: Mon, 5 Oct 2015 14:20:47 -0300 Subject: Re-added effectiveness observer (still needs work). --- effectivenessobserver.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'effectivenessobserver.h') diff --git a/effectivenessobserver.h b/effectivenessobserver.h index 8331916..80ee368 100644 --- a/effectivenessobserver.h +++ b/effectivenessobserver.h @@ -2,6 +2,7 @@ #define EFFECTIVEINTERACTIONENFORCER_H #include +#include #include class EffectiveInteractionEnforcer : public QObject @@ -14,13 +15,14 @@ signals: void effectivenessChanged(const arma::vec &effectiveness); public slots: - void setSelection(const arma::uvec &selection); + void setSelection(const QSet &selection); void setMeasureDifference(const arma::vec &measure); private: + arma::uvec m_sampleIndices; arma::mat m_effectiveness; - arma::uvec m_sampleIndices, m_selection; arma::vec m_measure; + QSet m_selection; }; #endif // EFFECTIVEINTERACTIONENFORCER_H -- cgit v1.2.3