#ifndef KOLCHSHINDWINDOW_H #define KOLCHSHINDWINDOW_H #include #include #include #include "Kolch_Shind/solver.h" #include "Kolch_Shind/paintqwidget.h" #include namespace Ui { class KolchShindWindow; } class KolchShindWindow : public QWidget { Q_OBJECT public: explicit KolchShindWindow(QWidget *parent = 0); ~KolchShindWindow(); private slots: void on_pushButton_clicked(); void on_pushButton_cont_clicked(); void on_pushButton_Log_clicked(); void on_comboBox_modelNum_currentIndexChanged(int index); void changeProgressBarVal(int iter); signals: void startDrawAll(int wgt_type, QCustomPlot* pPlot); void startDraw(QCustomPlot* pPlot); void startDrawParam(float c1, float c2, float c3, float c4, float c5, float sigC1, float sigC2, float sigC3, float sigC4, float sigC5, float e, float sigE, float sigX0, float delX0, float sigX, float Xopt, int popSize, int maxSteps, int N, int wgt_type, QCustomPlot* pPlot, int cnt, int modelsCount, int model_num); void sendNewIter(int iterFlag, int iters); void drawModel(int wgt_type, QCustomPlot* pPlot, int model_num); private: Ui::KolchShindWindow *ui; PaintQWidget paintWgt; Solver solver; int newIterFlag; int newModelFlag; int firstStart; QVector withFeed; QVector withoutFeed; QVector eMeans; QVector fMeans; QVector c2Means; QVector individ; QVector individFeed; }; #endif // KOLCHSHINDWINDOW_H