⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 statsanalyzer.h

📁 用data miming技术进行false prediction
💻 H
字号:
#ifndef STATS_ANALYZER_H
#define STATS_ANALYZER_H

#include <iostream>
#include <vector>
#include <algorithm>

#include "Stats.h"
#include "AppException.h"
#include "Config.h"

using namespace std;

class StatsAnalyzer {
    private:
        vector<Stats*>* statsList;
        void initializeStatsList(const char* fileName) throw(AppException);
        void printStatsList();
        float getProbabilityForTBF(int TBF) const;

    public:
        StatsAnalyzer();
        ~StatsAnalyzer();
        vector<Stats*>* getStatsList() const;
        bool predictFailure(int lastFailTime, int secondLastFailTime, int maxPredictTime) const;

};

#endif /* STATS_ANALYZER_H */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -