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

📄 dfsfuncs.h

📁 稀疏矩阵、链表、图、队列、二叉树、多叉树、排序、遗传算法等的实现
💻 H
字号:
/* dfsfuncs.h */

#ifndef DFSFUNCS_H
#define DFSFUNCS_H

#include "graphs.h"

int AreVerticesConnected(struct Graph * G,int Source, int Dest);
	/* determines whether there is a path from Source to Dest
	   It should work for directed and undirected graphs. Cost
	   is not determined - only that a path exists. Because a
	   depth first search is used, upto G->NumVertices iterations
	   are required to determine that there is a path
	   returns <0 on error (GRAPH_OUTOFMEM,GRAPH_BADPARAM)
	   0 denotes no path, >0 denotes a path
	*/
	    
#endif

⌨️ 快捷键说明

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