blob: 80ee3682b22822533f3c33f152fc25b9a1163a61 (
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
27
28
|
#ifndef EFFECTIVEINTERACTIONENFORCER_H
#define EFFECTIVEINTERACTIONENFORCER_H
#include <QObject>
#include <QSet>
#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 QSet<int> &selection);
void setMeasureDifference(const arma::vec &measure);
private:
arma::uvec m_sampleIndices;
arma::mat m_effectiveness;
arma::vec m_measure;
QSet<int> m_selection;
};
#endif // EFFECTIVEINTERACTIONENFORCER_H
|