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

📄 topologicalsort.h

📁 数据结构的拓扑排序算法
💻 H
字号:
#include "iostream.h"
typedef int InfoType;
typedef int VertexType;
#define MAX_VERTEX_NUM 20
typedef struct ArcNode{
	int adjvex;
	struct ArcNode *nextarc;
	InfoType	*info;
}ArcNode;//表结点
typedef struct VNode{
	VertexType data;
	ArcNode	*firstarc;
}VNode,AdjList[MAX_VERTEX_NUM];//头结点
typedef struct{
	AdjList vertices;
	int vexnum,arcnum;
	int kind;
}ALGraph;

⌨️ 快捷键说明

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