diff options
author | Samuel Fadel <samuelfadel@gmail.com> | 2015-09-17 12:20:24 -0300 |
---|---|---|
committer | Samuel Fadel <samuelfadel@gmail.com> | 2015-09-17 12:20:24 -0300 |
commit | 0518b806d8ce25c69847ec8c403276193611b2e1 (patch) | |
tree | f008385354f24ab2fadca171d27d8f2656244d89 /effectivenessobserver.h | |
parent | 8b1e2720b1253a91e3b75a08e2f5a38deb55affa (diff) |
Additional interactive functionalities.
- Selection linking between subsample plot and main plot
- Dumb "effectiveness" coloring
Diffstat (limited to 'effectivenessobserver.h')
-rw-r--r-- | effectivenessobserver.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/effectivenessobserver.h b/effectivenessobserver.h new file mode 100644 index 0000000..8331916 --- /dev/null +++ b/effectivenessobserver.h @@ -0,0 +1,26 @@ +#ifndef EFFECTIVEINTERACTIONENFORCER_H +#define EFFECTIVEINTERACTIONENFORCER_H + +#include <QObject> +#include <armadillo> + +class EffectiveInteractionEnforcer : public QObject +{ + Q_OBJECT +public: + EffectiveInteractionEnforcer(const arma::uvec &sampleIndices); + +signals: + void effectivenessChanged(const arma::vec &effectiveness); + +public slots: + void setSelection(const arma::uvec &selection); + void setMeasureDifference(const arma::vec &measure); + +private: + arma::mat m_effectiveness; + arma::uvec m_sampleIndices, m_selection; + arma::vec m_measure; +}; + +#endif // EFFECTIVEINTERACTIONENFORCER_H |