📄 childview.h
字号:
/*
*
* Copyright 2004-2006 Ghassan OREIBY
*
* This file is part of Neurality.
*
* Neurality is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* Neurality is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Neurality; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*
*
*/
// ChildView.h : interface of the CChildView class
//
#pragma once
#include "afxwin.h"
//UINT StartLearn(LPVOID pParam);
// CChildView window
class CChildView : public CWnd
{
friend UINT StartLearn(LPVOID pParam);
// Construction
public:
CChildView();
// Attributes
public:
// Operations
public:
// Overrides
protected:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
// Implementation
public:
virtual ~CChildView();
// Generated message map functions
protected:
afx_msg void OnPaint();
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
afx_msg void OnKeyUp(UINT nChar, UINT nRepCnt, UINT nFlags);
private:
CBrush m_brush;
public:
afx_msg void OnLearningStart();
// Should be TRUE, and turned to FALSE when escape is down
BOOL m_bContinue;
// afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
afx_msg void OnLearningLoadsamples();
real* m_reIn;
real* m_reOut;
CNetwork* m_Net;
afx_msg void OnFileNew();
int m_nTotalHidden;
CLayer** m_HiddenLayer;
afx_msg void OnFileOpen();
afx_msg void OnUpdateLearningLoadsamples(CCmdUI *pCmdUI);
afx_msg void OnLearningOptions();
protected:
int m_nItrSave;
protected:
int m_nItrShow;
protected:
BOOL m_bShowCurve;
public:
afx_msg void OnUpdateLearningStart(CCmdUI *pCmdUI);
afx_msg void OnTestImage();
afx_msg void OnUpdateTestImage(CCmdUI *pCmdUI);
protected:
float m_fMSE;
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -