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

📄 eventhistory.h

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

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

#include "Event.h"
#include "AppException.h"

using namespace std;

class EventHistory {
    private:
        int lastFailTime;
        int secondLastFailTime;
        vector<Event*>* eventList;
        void printEventList();

    public:
        EventHistory();
        ~EventHistory();
        vector<Event*>* getEventList() const;
        void addEvent(Event* event);
        void flushEvents(int historyStartTime);
        int getEventListSize() const;
        int getLastFailTime() const;
        int getSecondLastFailTime() const;

};

#endif /* EVENT_HISTORY_H */


⌨️ 快捷键说明

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