forked from EngineeringLibrary/fuzzyLogic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mainwindow.h
38 lines (30 loc) · 782 Bytes
/
mainwindow.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
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <SistemasdeControle/headers/modelLibs/transferfunction.h>
#include <SistemasdeControle/headers/graphicLibs/plot.h>
#include <vector>
#include "fuzzy.h"
#include "triangular.h"
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
private slots:
void on_simularButton_clicked();
void on_pushButton_clicked();
private:
Ui::MainWindow *ui;
void identifyVar(std::string str);
void calTF(std::string valor);
PlotHandler::plot<double> *plotyG1;
PlotHandler::plot<double> *plotyG2;
std::vector<std::string> x;
std::vector<std::string> y;
};
#endif // MAINWINDOW_H