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

📄 图的操作界面doc.h

📁 图邻接表的建立,深度优先遍历,.广度优先遍历,最小生成树,拓扑排序,单源点到其余各个顶点的最短路径等对图的操作!VC界面!
💻 H
字号:
// 图的操作界面Doc.h : interface of the CMyDoc class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_DOC_H__AFEB3BED_3278_41DD_9B54_AE96E0EE958B__INCLUDED_)
#define AFX_DOC_H__AFEB3BED_3278_41DD_9B54_AE96E0EE958B__INCLUDED_

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

#include"GraphDlg.h"
#include"GraphDlg2.h"
#include"GraphDlg3.h"
#include"GraphDlg4.h"
#include"Graph.h"

class CMyDoc : public CDocument
{
protected: // create from serialization only
	CMyDoc();
	DECLARE_DYNCREATE(CMyDoc)

// Attributes
public:

	CString m_str;
	Graph *myGraph;
	Graph1 *myGraph1;
	GraphDlg dlg;
	GraphDlg2 dlg2;
	GraphDlg3 dlg3;
	GraphDlg4 dlg4;


		// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMyDoc)
	public:
	virtual BOOL OnNewDocument();
	virtual void Serialize(CArchive& ar);
	//}}AFX_VIRTUAL

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

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CMyDoc)
	afx_msg void OnCreatlist();
	afx_msg void OnDfs();
	afx_msg void OnBfs();
	afx_msg void OnMatrix();
	afx_msg void OnPrim();
	afx_msg void OnCreatlist2();
	afx_msg void OnTopsort();
	afx_msg void OnCreatmatrix2();
	afx_msg void OnDijkstra();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_DOC_H__AFEB3BED_3278_41DD_9B54_AE96E0EE958B__INCLUDED_)

⌨️ 快捷键说明

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