搜索资源列表
图遍历
- 本程序用邻接矩阵实现图的深度优先遍历 图的广度优先遍历-the procedures used adjacency matrix of the plan is to achieve depth-first traversal of the plan breadth priority Ergodic
图遍历
- 本程序用邻接矩阵实现图的深度优先遍历 图的广度优先遍历-the procedures used adjacency matrix of the plan is to achieve depth-first traversal of the plan breadth priority Ergodic
广度优先遍历图
- 广度优先遍历实验报告 供初学者参考,通过对该系统的设计,可以很好的理解树的概念和用途-breadth- first traversal report experimental reference for beginners, the system design can have a very good understanding of the concept of the tree and use
0801
- 功能:构造图,并进行图的深度优先遍历(邻接表存储结构),图的广度优先遍历,内附详尽的源代码说明-function : tectonic map, and map depth-first traversal of the (storage structure adjacent table), the breadth of the plan priority traversal, enclosing a detailed note of t
两种遍历图的方法
- 熟悉图的两种常用的存储结构,以及在这两种存储结构上的两种遍历图的方法,即深 度优先遍历和广度优先遍历。进一步掌握递归算法的设计方法。 -familiar with the plans of two commonly used storage structure, and the two storage structures on the two traverse map, that depth-first traversal a
linsang
- 很多涉及图上操作的算法都是以图的遍历操作为基础的,此程序演示出图的遍历的过程。通过邻接矩阵存储结构实现数据俄的输入,实现图的深度优先遍历和广度优先遍历过程的演示,对异常输入信息报错。-map of algorithms are plans to traverse the basis for the operation, this procedure demonstrated map out the ergodic process. Th
graphshguang
- 图的深度优先遍历和广度优先遍历,以邻接矩阵方式输入。(按照提示输入)! -map the depth and breadth traversal priority priority traverse to the adjacency matrix input. (According to the prompt entry)!
c
- 实现图的临接矩阵,邻接表,广度优先遍历和深度优先遍历。-Realize map adjacent matrix, the adjacent table, breadth-first traversal and depth-first traversal.
graph
- 图的广度优先遍历和深度优先遍历,C语言程序 -Graph breadth-first traversal and depth-first traversal, C Programming Language
tu
- 图的建立,图的广度优先遍历,深度优先遍历,邻接表等,c语言-Chart the establishment of the breadth-first graph traversal, depth-first traversal, such as adjacency list, c language
tu
- 键盘输入数据,建立一个有向图的邻接表。 (2)输出该邻接表。 (3)建立一个无向图的十字链表。 (4)在有向图的邻接表的基础上计算各顶点的度,并输出。 (5)采用邻接表存储实现无向图的深度优先遍历。。 (6)采用邻接表存储实现无向图的广度优先遍历。 -Keyboard input data, the establishment of a directed graph of the adjacency l
guangduyouxianbianli
- 实现图的广度优先遍历:数据结构课程设计-err
datastructure
- 设计邻接表类,实现无向图的深度优先非递归遍历,无向图的广度优先遍历,并设计主函数输入数据进行测试-Design category adjacency list, realize undirected graph of the depth-first traversal non-recursive, non-directed graph breadth-first traversal, and the design of the main
Broad-First-Search(AdjLGraph)
- 此代码为“图的广度优先遍历”的源代码,图的存储形式为邻接表,里面有图的邻接表存储的代码,还有广度优先遍历的算法,还有验证的主函数。-This code is " breadth-first traversal map" of the source code, Figure storage form of adjacency list, there are plans stored in the adjacent tab
C
- 图的深度优先遍历,图的广度优先遍历,及图的存储-Map depth-first traversal, breadth-first traversal of the graph, and map storage
main
- 采用邻接矩阵表示无向图,完成图的创建、图的深度优先遍历、图的广度优先遍历操作。其中图的顶点信息是字符型,图中顶点序号按字符顺序排列。本输入样例中所用的图如下所示: Input Format: 第一行输入两个值,第一个是图中顶点的个数,第二个是图中边的条数 第二行输入各顶点的信息,即输入每个顶点字符 第三行开始输入每条边,每条边的形式为两个顶点的序号,中间以空格隔开,输入完一条边换行 Output format:
GraphTraversal
- 使用c语言,利用数据结构思想建立图的邻接表的存储结构,实现无向图的深度优先遍历和广度优先遍历。以用户指定的顶点为起点,分别输出每种遍历下的顶点访问序列。 设图的顶点不超过30个,每个顶点用一个编号表示(如果一个图有N个顶点,则它们的编号分别为1,2,…,N)。通过输入图的全部边输入一个图,每条边是两个顶点编号对,可以对边依附顶点编号的输入顺序作出限制(例如从小到大)。 -Using c language data structu
ConsoleApplication1
- 实现图的广度优先遍历,利用结构体指针,非常适合数据结构初学者。(Breadth first traversal of Graphs)
图的广度优先遍历
- 实现图的广度优先遍历程序,c语言编程,图论(A program for realizing the breadth first traversal of a graph)
无向图
- 无向图的创建,转化为邻接矩阵输出,及深度、广度优先遍历(The creation of undirected graph is transformed into adjacency matrix output and depth and breadth first traversal.)