-
这是一种很方便的小程序,可在桌面上写字,这样您就可以很容易看到,你今天获近一段时间内的工作安排!...
这是一种很方便的小程序,可在桌面上写字,这样您就可以很容易看到,你今天获近一段时间内的工作安排!-this is a very convenient small procedure can write on the table, so you can easily see, Recently you today, the organization of work!
- 2023-06-27 03:20:03下载
- 积分:1
-
CDN网络路由技术、CDN网络路由技术
CDN网络路由技术, CDN网络路由技术-CDN network routing technology, CDN network routing technology
- 2022-04-12 20:18:53下载
- 积分:1
-
[输入]
图的顶点个数N,图中顶点之间的关系及起点A和终点B
[输出]
若A到B无路径,则输出“There is no path” 否则输出A到B路...
[输入]
图的顶点个数N,图中顶点之间的关系及起点A和终点B
[输出]
若A到B无路径,则输出“There is no path” 否则输出A到B路径上个顶点
[存储结构]
图采用邻接矩阵的方式存储。
[算法的基本思想]
采用广度优先搜索的方法,从顶点A开始,依次访问与A邻接的顶点VA1,VA2,...,VAK, 访问遍之后,若没有访问B,则继续访问与VA1邻接的顶点VA11,VA12,...,VA1M,再访问与VA2邻接顶点...,如此下去,直至找到B,最先到达B点的路径,一定是边数最少的路径。实现时采用队列记录被访问过的顶点。每次访问与队头顶点相邻接的顶点,然后将队头顶点从队列中删去。若队空,则说明到不存在通路。在访问顶点过程中,每次把当前顶点的序号作为与其邻接的未访问的顶点的前驱顶点记录下来,以便输出时回溯。
#include
int number //队列类型
typedef struct{
int q[20]
-[imported] map of the number of vertices N, Vertex map of the relationship between the starting point and end point A and B [output] if A to B without path then exporting "There is no path" Otherwise output A to B on the path vertices [storage structure] plan adopted adjacency matrix of storage. [Algorithm for the basic idea] BFS way from the vertex A, A visit followed with adjacent vertices VA1, VA2 ,..., VAK, visiting times, if not visit B, continue to visit with the VA1 adjacent vertices VA11, VA12 ,..., VA1M. VA2 and then
- 2022-01-25 22:50:29下载
- 积分:1
-
NS2 not on the BLUE SFB and the simulation source code.
ns2中没有的关于BLUE和SFB的仿真源码。-NS2 not on the BLUE SFB and the simulation source code.
- 2022-02-02 22:32:35下载
- 积分:1
-
Russian box, VC source code, the use of DirectX 8.1, a good learning DirectX cod...
俄罗斯方块, VC源代码, 使用DirectX 8.1, 学习DirectX的好代码.-Russian box, VC source code, the use of DirectX 8.1, a good learning DirectX code.
- 2022-10-26 23:30:03下载
- 积分:1
-
一个小型专家系统
书籍识别系统
- 2022-12-27 05:50:03下载
- 积分:1
-
DirectX 8 教程 DirectX 8 教程4
DirectX 8 教程 DirectX 8 教程4-DirectX 8 Tutorial DirectX 8 Tutorial 4
- 2022-02-01 18:04:27下载
- 积分:1
-
menu demonstration men u demonstration men u demonstration menu demo
菜单演示
菜单演示
菜单演示-menu demonstration men u demonstration men u demonstration menu demo
- 2023-05-03 20:30:04下载
- 积分:1
-
Using vb to write idioms Lianliankan games, entertainment, plus study.
用vb写的成语连连看小游戏,娱乐加学习。-Using vb to write idioms Lianliankan games, entertainment, plus study.
- 2022-11-23 23:20:03下载
- 积分:1
-
FPGA
FPGA-Lattice ISP 下载线,官方说明,英文。-FPGA-Lattice ISP download cable, the official description, English.
- 2022-11-26 05:30:03下载
- 积分:1