Init version
This commit is contained in:
29
DEC_GUI/Agressor/aphistory.h
Normal file
29
DEC_GUI/Agressor/aphistory.h
Normal file
@@ -0,0 +1,29 @@
|
||||
#ifndef APHISTORY_H
|
||||
#define APHISTORY_H
|
||||
|
||||
#include <QList>
|
||||
|
||||
class APHistory
|
||||
{
|
||||
public:
|
||||
APHistory();
|
||||
void addClassHistory ();
|
||||
void addClassGroupHistory();
|
||||
void addAvContenmentData(int iModel, qreal avContenmentData); // Добавление данных о модели с номером iModel
|
||||
void addGroupAvContenmentData(int iModel, QVector<qreal> avContenmentData);
|
||||
void postPrintModelData(int iModel); // Вывод в файл всех данных по модели с номером iModel
|
||||
void postPrintGroupData(int iModel);
|
||||
void postPrintGlobalAverage();
|
||||
void printCurrentContentmentData(int iModel); // Вывод в файл последних данных по модели с номером iModel
|
||||
void printCurrentContentmentGroupData(int iModel);
|
||||
QList<qreal> getHistory(int iModel);
|
||||
QList<qreal> getGroupHistory(int iModel, int iGroup);
|
||||
QList<qreal> getAverageForAllModels();
|
||||
QList<qreal> getAverageForGroup(int group);
|
||||
void clearHistory();
|
||||
private:
|
||||
QList<QList<qreal> > avContenmentHistory; // Хранитель данных о ср.неудовлетворённости
|
||||
QList<QVector<QList<qreal> > > groupAvContenmentHistoty;
|
||||
};
|
||||
|
||||
#endif // APHISTORY_H
|
||||
Reference in New Issue
Block a user