forked from AmurSU/TSProject
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtstempanalitic.h
40 lines (36 loc) · 891 Bytes
/
tstempanalitic.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#ifndef TSTEMPANALITIC_H
#define TSTEMPANALITIC_H
#include <QObject>
#include <extremum.h>
class tstempanalitic : public QObject
{
Q_OBJECT
public:
explicit tstempanalitic(QObject *parent = 0);
int setupData(QVector<int> *row_d);
void append(int n);
int findExtremums();
int deleteBadExtremums();
int deleteBadExtremumsVolume();
int getMaxAvgs();
int getMinAvgs();
int getMaxsCount();
int getMinsCount();
int getMinMaxAvgTime();
int getMaxMinAvgTime();
void clear();
int getMaxsSum();
int getMinsSum();
int getMax();
int getMin();
private:
int fabs(int a);
void deleteEqualSignExtremums();
void deleteSimilarInMeaningExtremums();
void deletePatternLightningExtremums();
QVector<extremum> *ts_extremums;
QVector<int> *ts_row_data;
signals:
public slots:
};
#endif // TSTEMPANALITIC_H