📄 statsanalyzer.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 + -