-
good language to answer the questions
很好的c语言习题解答-good language to answer the questions
- 2022-07-09 08:55:18下载
- 积分:1
-
MFC version, readers can enjoy a new style of Tetris
MFC的版本,读者可以欣赏一个新的俄罗斯方块的风格-MFC version, readers can enjoy a new style of Tetris
- 2022-01-31 15:09:49下载
- 积分:1
-
三国志IX武将编辑器
三国志IX武将编辑器-Three Kingdoms IX generals Editor
- 2022-10-17 11:45:02下载
- 积分:1
-
初始屏幕
这个程序允许用户显示一个动画的闪屏,当程序执行且花费更长的时间来启动。
- 2022-12-10 13:30:03下载
- 积分:1
-
- 2022-01-23 11:26:40下载
- 积分:1
-
关于ruby的入门例子,直接接压就可以使用了,WINDOWS下使用通过,适合新手观看...
关于ruby的入门例子,直接接压就可以使用了,WINDOWS下使用通过,适合新手观看-on ruby introductory examples directly pressure can use it, through the use of Windows, suitable for newcomers to watch
- 2023-09-06 22:20:03下载
- 积分:1
-
labview多指令上位机
LabVIEW(Laboratory Virtual Instrumentation Engineering Workbench,实验室虚拟仪器工程平台)是由美国国家仪器公司所开发的图形化程序编译平台,发明者为杰夫·考度斯基(Jeff Kodosky),程序最初于1986年在苹果电脑上发表。目前可支持Windows,UNIX,Linux,Mac OS等操作系统。由于LabVIEW特殊的图形程序简单易懂的开发接口,缩短了开发原型的速度以及方便日后的软件维护,因此逐渐受到系统开发及研究人员的喜爱。初学labVIEW,自己制作的上位机,互相学习!!!
- 2023-05-22 03:40:03下载
- 积分:1
-
阿拉伯语字体包括4个字库,做软件开发或嵌入式使用
阿拉伯语字体包括4个字库,做软件开发或嵌入式使用-Arabic fonts including four font, do software development or embedded use
- 2022-03-14 06:34:40下载
- 积分:1
-
该程序以回溯算法为基础 完成后对算法的学习与设计有重要意义...
该程序以回溯算法为基础 完成后对算法的学习与设计有重要意义-back to the program algorithm based on the completion of the study and algorithm design significance
- 2022-11-18 20:20:03下载
- 积分: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