diff options
Diffstat (limited to 'src/bm/resulthistoryinfo.h')
| -rw-r--r-- | src/bm/resulthistoryinfo.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/bm/resulthistoryinfo.h b/src/bm/resulthistoryinfo.h index a65757f..b5bdff0 100644 --- a/src/bm/resulthistoryinfo.h +++ b/src/bm/resulthistoryinfo.h @@ -26,6 +26,7 @@ #include <QString> #include <QList> +#include <QMap> #include <QBitArray> class ResultHistoryInfo { @@ -69,7 +70,10 @@ public: QString testFunction() const { return testFunction_; } QString dataTag() const { return dataTag_; } - void computeMaxESSStats(qreal diffTolerance, int stabTolerance, int *total, int *stable); + void computeMaxESSStats(qreal diffTolerance, int stabTolerance, int *total, int *stable) const; + void computeStabilityStats( + qreal diffTolerance, int stabTolerance, bool *zerosFound, int *total, int *stable, + int *uniqueLevels, qreal *minLevel, qreal *maxLevel) const; private: int bmcontextId_; @@ -96,6 +100,10 @@ private: void markOutliers() const; bool equal(int i, int j, int diffTolerance) const; + void startSubsequence( + int pos, qreal diffTolerance, QMap<int, int> *uniqueLevels, qreal *minLevel, + qreal *maxLevel, bool first = false) const; + static void endSubsequence(int seqSize, int *total, int *stable, int stabTolerance); }; #endif // RESULTHISTORYINFO_H |
