-
本程序用于测试实时时钟模块SD2000的SRAM存储器D/E系列, 程序功能如下: 1. 关闭/INT1及/INT2的中断输出 2. 初始化时间(写时间数据)...
本程序用于测试实时时钟模块SD2000的SRAM存储器D/E系列, 程序功能如下: 1. 关闭/INT1及/INT2的中断输出 2. 初始化时间(写时间数据) 3. 在BREAKPOINT1设断点时,依次读时间-写SRAM数据-读SRAM数据循环 4. 全速执行时,LED四位分别显示小时和分钟的值-procedures used to test the real-time clock module SD2000 SRAM memory D/E Series, procedures following functions : 1. Closed/INT1 and/INT2 the interruption of output 2. Initialization time (the time to write data) 3. Located in BREAKPOINT1 breakpoint, followed by time for-write SRAM data-reading cycle of four data SRAM. full speed of implementation, respectively, four LED display hours and minutes values
- 2022-05-18 15:06:41下载
- 积分:1
-
blos的基础知识,设置 希望对大家有用
blos的基础知识,设置 希望对大家有用-blos the basis of knowledge, we hope to set up useful
- 2022-05-19 22:30:17下载
- 积分: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
-
fdtd
关于时域有限差分方法的廖算法,非常好用,谢谢大家-fdtd
- 2022-01-25 17:00:32下载
- 积分:1
-
Vfp6.0 use of student achievement to write a deal with the
利用vfp6.0写的一个学生成绩处理中的“分段统计”程序,自动成绩EXCEL表-Vfp6.0 use of student achievement to write a deal with the
- 2023-07-15 14:40:03下载
- 积分:1
-
Jbuilder development of a peer
Jbuilder开发的一个P2P文件共享软件!-Jbuilder development of a peer-to-peer file-sharing software!
- 2022-02-03 07:24:39下载
- 积分:1
-
VHDL洗衣机程序,程序不是很流畅,可能有一些小错误,供大家参考,请大家指正...
VHDL洗衣机程序,程序不是很流畅,可能有一些小错误,供大家参考,请大家指正-VHDL washing procedure, the program is not very smooth, there may be some minor errors, for your reference, please correct me
- 2022-05-06 21:06:26下载
- 积分:1
-
个人财政支出管理的关键源程序代码,已经调试
个人财政支出管理的关键源程序代码,已经调试-Personal financial expenditure management the key to source code, have been debug
- 2022-02-09 22:00:27下载
- 积分:1
-
APPLICATION TO LOSSLESS COMPRESSION OF HYPERSPECTRAL IMAGES
APPLICATION TO LOSSLESS COMPRESSION OF HYPERSPECTRAL IMAGES
- 2023-08-15 08:45:02下载
- 积分:1
-
在 ns2 中 LEACH 协议
在网络仿真器 NS2,leach 协议用于群集节点。附件里附有程序代码。欢迎大家下载、试用。谢谢大家的支持!
- 2023-04-15 19:20:03下载
- 积分:1