summaryrefslogtreecommitdiffstats
path: root/src/bm/index.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/bm/index.h')
-rw-r--r--src/bm/index.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/bm/index.h b/src/bm/index.h
index f07e4f0..db0fce7 100644
--- a/src/bm/index.h
+++ b/src/bm/index.h
@@ -28,6 +28,7 @@
#include <QList>
class ResultHistoryInfo;
+class DataQualityStats;
class Index {
public:
@@ -59,9 +60,12 @@ public:
// in \a contrCounts.
// If non-null, the \a topContr list will upon return contain a list of the \a topContrLimit
// most significant contributors at each evaluation timestamp.
+ // If non-null, the \a dqStats object will upon return contain data quality statistics for
+ // the contributing result histories.
virtual bool computeValues(
QList<qreal> *values, int *baseValuePos, QList<int> *contrCounts, QString *error,
- QList<QList<RankedInfo> > *topContr = 0, int topContrLimit = -1) const = 0;
+ QList<QList<RankedInfo> > *topContr = 0, int topContrLimit = -1,
+ DataQualityStats *dqStats = 0) const = 0;
protected:
QList<ResultHistoryInfo *> rhInfos;
@@ -88,7 +92,8 @@ public:
bool computeValues(
QList<qreal> *values, int *baseValuePos, QList<int> *contrCounts, QString *error,
- QList<QList<RankedInfo> > *topContr = 0, int topContrLimit = -1) const;
+ QList<QList<RankedInfo> > *topContr = 0, int topContrLimit = -1,
+ DataQualityStats *dqStats = 0) const;
};
#endif // INDEX_H