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

📄 遗传算法图案dlg.h

📁 基于遗传算法的图案生成程序
💻 H
字号:
// 遗传算法图案Dlg.h : header file
//

#if !defined(AFX_DLG_H__B8C14AEC_D710_4B7C_A34C_07A7A79EC096__INCLUDED_)
#define AFX_DLG_H__B8C14AEC_D710_4B7C_A34C_07A7A79EC096__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CMyDlg dialog

class CMyDlg : public CDialog
{
// Construction
public:
	void findmax(char f);
	void draw_newp();
	void go_clone(int x,int y,int t);
	void go_variance(int x, int y);
	void myclear();
	void select_across();
	void clone_or_variance();
	void read();
	CMyDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CMyDlg)
	enum { IDD = IDD_MY_DIALOG };
	CStatic	m_title;
	CButton	m_draw;
	CSpinButtonCtrl	m_sclcs;
	CButton	m_right;
	CButton	m_left;
	CSpinButtonCtrl	m_xpnks;
	CSpinButtonCtrl	m_qfks;
	CSpinButtonCtrl	m_sclc;
	CButton	m_xpn;
	CButton	m_qf;
	CSpinButtonCtrl	m_jhbj;
	CSpinButtonCtrl	m_mpbj;
	CButton	m_save;
	CButton	m_clc;
	CButton	m_mp;
	CSpinButtonCtrl	m_zxfg;
	CSpinButtonCtrl	m_sbcc;
	CSpinButtonCtrl	m_hxfg;
	CProgressCtrl	m_jdt;
	CSpinButtonCtrl	m_cvp;
	CStatic	m_pic;
	CSpinButtonCtrl	m_acrossn;
	CSpinButtonCtrl	m_cloner;
	CSpinButtonCtrl	m_colony;
	CSpinButtonCtrl	m_variancer;
	CSpinButtonCtrl	m_times;
	CSpinButtonCtrl	m_seed;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMyDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CMyDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void Ondraw();
	afx_msg void Onsave();
	afx_msg void OnDeltaposcolony(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void Onmp();
	afx_msg void Onclc();
	afx_msg void Onzdjh();
	afx_msg void Onqf();
	afx_msg void Onxpn();
	afx_msg void Onleft();
	afx_msg void Onright();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_DLG_H__B8C14AEC_D710_4B7C_A34C_07A7A79EC096__INCLUDED_)

⌨️ 快捷键说明

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