-
键代码获取
易语言源码!一个简单的易语言,有按键和按键代码显示功能,仅供新手学习。
- 2022-07-25 20:15:20下载
- 积分:1
-
断路器控制,适用于220KV电压等级的变电站断路器的二次控制回路...
断路器控制,适用于220KV电压等级的变电站断路器的二次控制回路-Circuit breaker control voltage applied to 220KV substation secondary circuit breaker control circuit
- 2022-11-21 02:05:03下载
- 积分:1
-
在S3C2410 linux2.4.X 的串口编程例子,对初学者有帮助,代码测试OK...
在S3C2410 linux2.4.X 的串口编程例子,对初学者有帮助,代码测试OK-S3C2410 linux2.4.X in the serial programming examples for beginners has to help, code test OK
- 2023-06-25 18:30:03下载
- 积分:1
-
hdq总线的编程,代码详尽,注释清晰,程序清晰明了
hdq总线的编程,代码详尽,注释清晰,程序清晰明了-Bus hdq programming, code and detailed, clear notes, procedures clear
- 2022-09-12 11:20:02下载
- 积分:1
-
rtc
rtc-rtc
- 2022-07-27 06:29:12下载
- 积分: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
-
用OpenGl实现自己姓名的三维图像,像行星围绕太阳转一样围绕一个轨道旋转...
用OpenGl实现自己姓名的三维图像,像行星围绕太阳转一样围绕一个轨道旋转-OpenGl realize their own name with three-dimensional image
- 2023-08-20 19:40:04下载
- 积分:1
-
类似小画家功能可以用来显示并编辑图档。
类似小画家功能可以用来显示并编辑图档。-Drawing a similar function can be used to display and edit files.
- 2022-02-03 16:58:48下载
- 积分:1
-
虹膜图像预处理,包括虹膜定位和归一化,是D。
虹膜图像预处理,包括虹膜定位和归一化,是我的同学做的,很有参考价值,大家学习学习。-Iris image preprocessing, including iris localization and normalization, is to do my classmates, and a good reference, we learn.
- 2022-05-20 09:13:31下载
- 积分:1
-
some mathematical algorithms to achieve the
一些数学算法的实现-some mathematical algorithms to achieve the
- 2022-01-28 09:48:29下载
- 积分:1