📄 bpnn.h
字号:
//---------------------------------------------------------------------------
#ifndef BpnnH
#define BpnnH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <Buttons.hpp>
#include <Chart.hpp>
#include <ExtCtrls.hpp>
#include <mxgraph.hpp>
#include <Series.hpp>
#include <TeEngine.hpp>
#include <TeeProcs.hpp>
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published: // IDE-managed Components
TButton *readBtn;
TButton *trainBtn;
TButton *testBtn;
TBitBtn *BitBtn1;
TListBox *ListBox1;
TDecisionGraph *DecisionGraph1;
TLineSeries *Series1;
TButton *showError;
TLabel *Label1;
void __fastcall readBtnClick(TObject *Sender);
void __fastcall trainBtnClick(TObject *Sender);
void __fastcall init();
double __fastcall myRand();
void __fastcall randListF();
void __fastcall forward(int trainID);
void __fastcall backward(int trainID);
double __fastcall f(double x);
double __fastcall df(double x);
void __fastcall error();
void __fastcall showErrorClick(TObject *Sender);
void __fastcall testBtnClick(TObject *Sender);
private: // User declarations
public: // User declarations
__fastcall TForm1(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -