graph.h

来自「对图进行匹配的算法」· C头文件 代码 · 共 33 行

H
33
字号
// graph.h: interface for the graph class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_GRAPH_H__04E413AC_921A_48B9_B884_0E78CB45DC69__INCLUDED_)
#define AFX_GRAPH_H__04E413AC_921A_48B9_B884_0E78CB45DC69__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "node.h"

class graph  
{
public:
	node * delnode(int num);
	void reset();
	node * getnext();
	int getlength();
	bool find(node *nd);
	node * delnode(node *nd);
	void addnode(node *nd);
	node midhead;
	node *head,*next;
	node *cur;
	int len;
	graph();
	virtual ~graph();

};

#endif // !defined(AFX_GRAPH_H__04E413AC_921A_48B9_B884_0E78CB45DC69__INCLUDED_)

⌨️ 快捷键说明

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