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

📄 lxgraphl.h

📁 vc编写的数据结构
💻 H
字号:
// lxgraphl.h: interface for the lxgraphl class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_LXGRAPHL_H__802093C7_FBD8_477F_B5A2_F43FDF8F8A9C__INCLUDED_)
#define AFX_LXGRAPHL_H__802093C7_FBD8_477F_B5A2_F43FDF8F8A9C__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "lxlist.h"
#include "lxedge.h"
class lxgraphl  
{
public:
	void setmark(int v,int val);
	int getmark(int v);
	int weight(int v1,int v2);
	void deledge(int v1,int v2);
	void setedge(int v1,int v2,int wgt);
	int next(int v1,int v2);
	int first(int v);
	int e();
	int n();
	lxgraphl(int);
	~lxgraphl();

private:
	lxlist** vertex;
	int numedge;
	int numvertex;
	int* mark;
};

#endif // !defined(AFX_LXGRAPHL_H__802093C7_FBD8_477F_B5A2_F43FDF8F8A9C__INCLUDED_)

⌨️ 快捷键说明

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