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

📄 getresult.h

📁 k乘积问题的分支界限法实现, 并且给出了划分结果 ,很好理解
💻 H
字号:
#if !defined(AFX_GETRESULT_H__CBE1952C_D57A_44CB_9C68_FB7987FFD72D__INCLUDED_)
#define AFX_GETRESULT_H__CBE1952C_D57A_44CB_9C68_FB7987FFD72D__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// getresult.h : header file
//
#include "math.h"
#include "node.h"


/////////////////////////////////////////////////////////////////////////////
// getresult command target

class getresult : public CCmdTarget
{
	DECLARE_DYNCREATE(getresult)

	getresult();           // protected constructor used by dynamic creation

// Attributes
public:
CTypedPtrList <CObList,node *> midlist ;
int target,length;//要处理的数,数的位数
node res[1000];
int max;
int endposrec;//取最大值时,最后一个划分存储的位置
// Operations
public:
	

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(getresult)
	//}}AFX_VIRTUAL

// Implementation
public:
	void get();
	int begend(int beg,int end);
	void set(int,int);

	virtual ~getresult();

	// Generated message map functions
	//{{AFX_MSG(getresult)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_GETRESULT_H__CBE1952C_D57A_44CB_9C68_FB7987FFD72D__INCLUDED_)

⌨️ 快捷键说明

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