blob: 8331916285356b103c13e0ef1b11f4931442fe7e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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
|