⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 backpropagationview.h

📁 Neural Network backpropagation
💻 H
字号:
// backpropagationView.h : interface of the CBackpropagationView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_BACKPROPAGATIONVIEW_H__1B2118A6_F537_4E24_937D_B04802A0AFF1__INCLUDED_)
#define AFX_BACKPROPAGATIONVIEW_H__1B2118A6_F537_4E24_937D_B04802A0AFF1__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


class CBackpropagationView : public CView
{
private:
	COLORREF lcolor, fcolor,fcolor2,fcolor3,fcolor4,hcolor;
	int width;
    int num,g,g1,g2,i,j,*d;
	double eta,tol,Ek[2],**Zh1,**Sh1,**Yj1,**Sy1;
	float *x,*y,**d1;
	FILE *fp;
    double Wih[2][3],Whj[2][3],Zh[2],Yj[2],s[2][3],s1[2][3];
    double Sh[3],Sy[2],deltaO[2],deltaH[2];
    float Begxpoint,Begypoint,Endxpoint,Endypoint,sumerror;
	double 	Begxpoint1,Begypoint1,Endxpoint1,Endypoint1,BegX,EndX,BegX2,EndX2;
	int BegY,EndY,t,times,BegY2,EndY2;
	int time_Hour;
    int time_wMinute;
    int time_Second;
	float time_Milliseconds;
    int time_Hour2;
    int time_wMinute2;
    int time_Second2;
	float time_Milliseconds2;

    int time_Hour3;
    int time_wMinute3;
    int time_Second3;
	float time_Milliseconds3;
	float sumtime;
	SYSTEMTIME sysTime;    //address of system time structure
    


protected: // create from serialization only
	CBackpropagationView();
	DECLARE_DYNCREATE(CBackpropagationView)

// Attributes
public:
	CBackpropagationDoc* GetDocument();

// Operations
public:
	int k;
	char *Filter;

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CBackpropagationView)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CBackpropagationView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CBackpropagationView)
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg void OnFileOpen();
	afx_msg void OnSetting();
	afx_msg void OnMenuClean();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in backpropagationView.cpp
inline CBackpropagationDoc* CBackpropagationView::GetDocument()
   { return (CBackpropagationDoc*)m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_BACKPROPAGATIONVIEW_H__1B2118A6_F537_4E24_937D_B04802A0AFF1__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -