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

📄 initdialog.h

📁 人工智能中经典算法-宽度搜索和启发是搜索(A*算法)在VC环境下的实现代码
💻 H
字号:
#if !defined(AFX_INITDIALOG_H__71B97650_E00D_42AA_BB2C_11255FF8844E__INCLUDED_)
#define AFX_INITDIALOG_H__71B97650_E00D_42AA_BB2C_11255FF8844E__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// InitDialog.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CInitDialog dialog

class CInitDialog : public CDialog
{
// Construction
public:
	CInitDialog(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CInitDialog)
	enum { IDD = IDD_InitDIALOG };
		// NOTE: the ClassWizard will add data members here

	//}}AFX_DATA
public:
	CButton		m_ED1;	CButton		m_ED2;	CButton		m_ED3;
	CButton		m_ED4;	CButton		m_ED5;	CButton		m_ED6;
	CButton		m_ED7;	CButton		m_ED8;	CButton		m_ED9;
	CButton		m_ST1;	CButton		m_ST2;	CButton		m_ST3;
	CButton		m_ST4;	CButton		m_ST5;	CButton		m_ST6;
	CButton		m_ST7;	CButton		m_ST8;	CButton		m_ST9;


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CInitDialog)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL
	
private:
	int m_Src[3][3];
	int m_Desc[3][3];

public:
	int GetSrcData(int i,int j);//取得用户计算开始值
	int GetDescData(int i,int j);//取得用户计算目标值
	int m_Depth;

// Implementation
protected:
	void UpdateDescRadio();
	void UpdateSrcRadio();
	virtual BOOL OnInitDialog();
	// Generated message map functions
	//{{AFX_MSG(CInitDialog)
	afx_msg void OnEd1();
	afx_msg void OnEd2();
	afx_msg void OnEd3();
	afx_msg void OnEd4();
	afx_msg void OnEd5();
	afx_msg void OnEd6();
	afx_msg void OnEd7();
	afx_msg void OnEd8();
	afx_msg void OnEd9();
	afx_msg void OnSt1();
	afx_msg void OnSt2();
	afx_msg void OnSt3();
	afx_msg void OnSt4();
	afx_msg void OnSt5();
	afx_msg void OnSt6();
	afx_msg void OnSt7();
	afx_msg void OnSt8();
	afx_msg void OnSt9();
	afx_msg void OnChangeDepth();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_INITDIALOG_H__71B97650_E00D_42AA_BB2C_11255FF8844E__INCLUDED_)

⌨️ 快捷键说明

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