shortestpath.h

来自「迪杰斯特拉算法求最短路径」· C头文件 代码 · 共 29 行

H
29
字号
// ShortestPath.h: interface for the CShortestPath class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_SHORTESTPATH_H__20694803_E4BB_4D89_BA09_23ED6EBB839A__INCLUDED_)
#define AFX_SHORTESTPATH_H__20694803_E4BB_4D89_BA09_23ED6EBB839A__INCLUDED_

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


class CDijshowView;

class CShortestPath  
{
public:
	int ** choosepath;
	int * shortpath;
	int ** route;
	CDijshowView * pView;
	int **pathmatrix;
	CShortestPath(CDijshowView *pView1);
	virtual ~CShortestPath();
	void dij();
};

#endif // !defined(AFX_SHORTESTPATH_H__20694803_E4BB_4D89_BA09_23ED6EBB839A__INCLUDED_)

⌨️ 快捷键说明

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