bpnn.h

来自「一个bp神经元网络的c++实现」· C头文件 代码 · 共 51 行

H
51
字号
//---------------------------------------------------------------------------

#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 + =
减小字号Ctrl + -
显示快捷键?