-
This is about the tree code, you can help those who are beginners to learn the r...
这个是关于树的代码,可以帮助那些初学者学习参考-This is about the tree code, you can help those who are beginners to learn the reference
- 2022-08-25 09:38:05下载
- 积分:1
-
按键精灵v2.10
很老的一个版本,大家试试看,
按键精灵v2.10
很老的一个版本,大家试试看,-Wizard v2.10 keys, a very old version, U.S. Try
- 2023-02-21 00:25:03下载
- 积分:1
-
Sipex LDO器件选型指南,对各种型号的LDO低压差电源介绍,不错,对电路设计中电源选择有很多参考意义。...
Sipex LDO器件选型指南,对各种型号的LDO低压差电源介绍,不错,对电路设计中电源选择有很多参考意义。-Sipex LDO device selection guide, the various types of low dropout LDO power introduction, yes, right in the power supply circuit design choices are a lot of reference value.
- 2022-05-08 10:30:16下载
- 积分: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
-
LABVIEW中字符串,簇,数组等功能的使用例子
LABVIEW中字符串,簇,数组等功能的使用例子-LABVIEW in strings, clusters, an array of features such as the use of examples
- 2023-09-08 04:00:05下载
- 积分:1
-
fuzzy_c
Fuzzy_c-means clustering algorithm to extact useful information from huge amount of data
- 2023-02-22 09:10:03下载
- 积分:1
-
TI DSP 的FVID函数的说明,使用dm642的人员可以参考学习。
TI DSP 的FVID函数的说明,使用dm642的人员可以参考学习。-TI DSP s FVID function shows that the use of DM642 personnel can refer to learning.
- 2022-11-03 09:45:03下载
- 积分:1
-
FastCopy!!!最快的拷贝文件工具
fastcopy!!!!the fastest copy file tool
- 2022-03-24 09:18:12下载
- 积分:1
-
铅对Excel在试验数据的导入和导出PB文件的使用、加工。
使用PB对excel文件进行PB数据导入和导出的测试,提供源代码,并详细说明
- 2022-03-23 05:09:45下载
- 积分:1
-
java图形界面编程,输出10次字符串,字体一次比一次大。
java图形界面编程,输出10次字符串,字体一次比一次大。-graphical programming interface, output 10 string, a character than a major.
- 2022-10-30 16:35:03下载
- 积分:1