📄 unit1.h
字号:
//---------------------------------------------------------------------------
#ifndef Unit1H
#define Unit1H
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <Grids.hpp>
#include <Dialogs.hpp>
#include <Chart.hpp>
#include <ExtCtrls.hpp>
#include <Series.hpp>
#include <TeEngine.hpp>
#include <TeeProcs.hpp>
#include "BPNN.h"
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published: // IDE-managed Components
TButton *Button1;
TEdit *Edit1;
TLabel *Label1;
TLabel *Label2;
TEdit *Edit2;
TLabel *Label3;
TEdit *Edit3;
TLabel *Label4;
TStringGrid *StringGrid1;
TMemo *Memo1;
TOpenDialog *OpenDialog1;
TLabel *Label5;
TEdit *Edit4;
TLabel *Label6;
TEdit *Edit5;
TEdit *Edit6;
TLabel *Label7;
TLabel *Label8;
TEdit *Edit7;
TLabel *Label9;
TEdit *Edit8;
TLabel *Label10;
TEdit *Edit9;
TChart *Chart1;
TLineSeries *Series1;
TSaveDialog *SaveDialog1;
TSaveDialog *SaveDialog2;
TLabel *Label11;
TLabel *Label12;
TEdit *Edit10;
TButton *Button2;
TButton *Button3;
TLabel *Label13;
TLabel *Label14;
TLabel *Label15;
TLabel *Label16;
TEdit *Edit11;
TButton *Button4;
TLabel *Label17;
TButton *Button5;
TEdit *Edit12;
TEdit *Edit13;
TLabel *Label18;
TLabel *Label19;
TLabel *Label20;
TLabel *Label21;
void __fastcall FormCreate(TObject *Sender);
void __fastcall Edit2Change(TObject *Sender);
void __fastcall Button1Click(TObject *Sender);
void __fastcall Button2Click(TObject *Sender);
void __fastcall Button3Click(TObject *Sender);
void __fastcall Button4Click(TObject *Sender);
void __fastcall Button5Click(TObject *Sender);
private: // User declarations
public: // User declarations
//Step 1.BPNN Object
AIR_BPNN BPNNO1;
int iInputLayerNNNum;
int iHidLayerNum;
int iOutputLayerNNNum;
int iTrainSampleSetNum;
int iLearnedTimes;
Matrix2D M2DTrainInputSample;
Matrix2D M2DTrainOutputSample;
__fastcall TForm1(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -