-
斜视角示例源代码,2DRPG游戏采用斜视角地图方式的实现
斜视角示例源代码,2DRPG游戏采用斜视角地图方式的实现-squint example source code, using game footage squint map the way to achieve
- 2022-07-21 15:03:55下载
- 积分:1
-
好好的 好好的 好好的 好好的 好好的
好好的 好好的 好好的 好好的 好好的-Good good good good good good good good good
- 2023-07-21 23:55:03下载
- 积分:1
-
help newcomers familiar with the C language development of small systems
帮助新手熟悉用C语言开发小型系统-help newcomers familiar with the C language development of small systems
- 2022-02-04 18:57:28下载
- 积分:1
-
Acprotect1.10 Build123之C语言篇.chm
Acprotect1.10 Build123之C语言篇.chm-Acprotect1.10 Build123 the C language articles. Chm
- 2022-08-18 06:13:25下载
- 积分:1
-
研究部在整个现场被逮捕
学习部落网全站源码全在,功能十分强大,用户可以得到大量的学习资源!-Study Department of the arrest at the whole site-wide source, very powerful feature, users can receive many study resources!
- 2022-02-02 07:55:55下载
- 积分:1
-
重力异常的向上延拓程序,很实用,推荐地球物理学生学习
重力异常的向上延拓程序,很实用,推荐地球物理学生学习-Gravity anomaly upward extension procedure is very useful, recommended geophysics students
- 2022-04-18 21:51:52下载
- 积分:1
-
This is the Digital Image Processing Guide, compared with dedicated systems, pdf...
这是数字图像处理的教程,比较专用与系统,pdf格式-This is the Digital Image Processing Guide, compared with dedicated systems, pdf format
- 2022-04-15 00:54:14下载
- 积分:1
-
关于电影谍影重重的原著小说,英文版的,相信会对大家的英语水平有所提高。...
关于电影谍影重重的原著小说,英文版的,相信会对大家的英语水平有所提高。-谍影重重on the film
- 2022-09-19 11:30: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
-
这是一款介绍江苏省某些地区的旅游情况的,有兴趣的可以
这是一款介绍江苏省某些地区的旅游情况的,有兴趣的可以-Jiangsu Province introduced in certain areas of tourism, are interested can s
- 2023-01-03 00:20:22下载
- 积分:1