-
这是小时候的小孩玩过的比较经典的一款小游戏,适合c++初学者借鉴...
这是小时候的小孩玩过的比较经典的一款小游戏,适合c++初学者借鉴-This is when the kids played a comparison of the classic game for c++ beginners learn
- 2022-07-15 13:23:55下载
- 积分:1
-
桌面录象软件!拥有着宽软件,你就可以轻松的记录下年一在桌面上所做的一切...
桌面录象软件!拥有着宽软件,你就可以轻松的记录下年一在桌面上所做的一切-desktop video software! The software has a wide, you can easily record, one on the table, everything done
- 2022-01-26 05:42:07下载
- 积分:1
-
一个用C 语言编写计算器程序,绝对的正确,我自己调试过的,能成功...
一个用C 语言编写计算器程序,绝对的正确,我自己调试过的,能成功-a C language calculator program that is absolutely right, I own debugging off and success
- 2022-05-08 08:45:47下载
- 积分:1
-
字符形式的点阵程序
俩个字符形成点阵的程序-two characters form the lattice procedures
- 2022-11-25 09:00:03下载
- 积分:1
-
18b20驱动程序,经过验证已经通过,可以实现对温度的采集和处理...
18b20驱动程序,经过验证已经通过,可以实现对温度的采集和处理-18b20 driver, has been validated through, the temperature can be achieved by collecting and processing
- 2022-02-21 16:40:43下载
- 积分:1
-
Bresenham直线生成算法,初始华起点和终点后就可以画出直线了
Bresenham直线生成算法,初始华起点和终点后就可以画出直线了-Bresenham algorithm, the initial starting point and destination, China can draw straight after the
- 2023-06-24 23:50: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
-
arm 很详细的全面的专业arm移植文档!
不可多得!
arm 很详细的全面的专业arm移植文档!
不可多得!-arm very detailed comprehensive professional arm Portable Document! Rare!
- 2022-12-13 10:45:03下载
- 积分:1
-
华为h.248协议介绍
华为h.248协议介绍-Huawei H.248 protocol introduction
- 2022-09-07 02:15:03下载
- 积分:1
-
fifofile名称:FIFO
FIFOFile name:FIFO
//Describe:32*32bit FIFO
//Input:data[31:0],wrreq,rdreq,clock
//Output:q[31:0],full,empty
//Date:2009-12-10
-FIFO
- 2022-01-26 01:28:57下载
- 积分:1