-
关于连接无线传感器的利用是神泉模拟器很好…
this about connectivity of wireless sensors iusing castalia simulator it is nice to s-this is about connectivity of wireless sensors iusing castalia simulator it is nice to see
- 2022-01-31 10:40:28下载
- 积分:1
-
创建一个数组对其中数据进行操作,包括输出,顺序查找,二分查找,冒泡排序,插入排序。...
创建一个数组对其中数据进行操作,包括输出,顺序查找,二分查找,冒泡排序,插入排序。-Create an array of which the data operations, including output, sequential search, binary search, bubble sort, insertion sort.
- 2022-02-28 17:37:03下载
- 积分:1
-
本程序通过用递归调用的方法实现了汉诺塔问题,这是一个通用的程序,通过输入的层数结果输入到一个out.txt的文件中...
本程序通过用递归调用的方法实现了汉诺塔问题,这是一个通用的程序,通过输入的层数结果输入到一个out.txt的文件中-This procedure by using the method of recursive calls a Tower of Hanoi problem, which is a common procedure, the results by entering into the layers of a document out.txt
- 2022-07-26 21:39:55下载
- 积分:1
-
涉及平面拟合方法,利用最小二乘算法实现对三维平面的拟合,同时计算平面度和不确定度...
涉及平面拟合方法,利用最小二乘算法实现对三维平面的拟合,同时计算平面度和不确定度-Plane fitting method involves using the least-squares algorithm for fitting three-dimensional plane, while the calculation flatness and uncertainty
- 2022-07-25 06:50:35下载
- 积分:1
-
OWEN和HINTON编制的二维结构非线性有限员原代码,这两个人可是英国斯往西大学的大牛,程序非常具有参考价值,希望搞非线性有限员飞吸的同学即使下载,肯定很有帮...
OWEN和HINTON编制的二维结构非线性有限员原代码,这两个人可是英国斯往西大学的大牛,程序非常具有参考价值,希望搞非线性有限员飞吸的同学即使下载,肯定很有帮助的了-OWEN HINTON preparation and structure of the two-dimensional nonlinear finite Members of the original code, but these two individuals British Andean University of Western cattle, procedures have great reference value, engage in limited flights on nonlinear absorption of the students even downloaded certainly a helpful
- 2022-11-29 18:05:03下载
- 积分:1
-
一个用数学的方法所描述的游戏:哈利魔法.只要根据游戏中的说明即可,它可利用算法来猜出你心中的数学....
一个用数学的方法所描述的游戏:哈利魔法.只要根据游戏中的说明即可,它可利用算法来猜出你心中的数学.-a mathematical description of the methodology of the game : Harry magic. As long as the game according to the statement can be, it can use algorithms to guess the math in your heart.
- 2022-03-01 02:53:21下载
- 积分:1
-
这是关于雷达杂波的仿真的matlab程序,希望对大家有所帮助
这是关于雷达杂波的仿真的matlab程序,希望对大家有所帮助-This is on the radar clutter of the Matlab simulation procedures, we hope to help
- 2022-03-18 03:31:49下载
- 积分:1
-
java 命令模式,能够实现OCp原则,实现代码重构,包括例子。
java 命令模式,能够实现OCp原则,实现代码重构,包括例子。-java command mode to achieve OCp principles, code remodeling, including examples.
- 2022-05-20 21:59:09下载
- 积分:1
-
Shape 坐标转换程序 Shape 坐标转换程序
Shape 坐标转换程序 Shape 坐标转换程序-shape Projection demo
- 2022-05-27 06:59:05下载
- 积分: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