-
源是指法练习程序,有一定的趣味性!
本源程序是指法练习的程序,有一定的趣味性!-the source is fingering practice procedures, a certain degree of fun!
- 2022-06-21 23:51:03下载
- 积分:1
-
最小二乘支持向量机MATLAB实现源代码,可以用于模式识别以及回归,DEMOCLASS是使用方法示例...
最小二乘支持向量机MATLAB实现源代码,可以用于模式识别以及回归,DEMOCLASS是使用方法示例-least squares support vector machines MATLAB source code, can be used for pattern recognition and regression, DEMOCLASS example is the use of
- 2022-08-20 23:21:16下载
- 积分:1
-
利用vb来实现显示滚动的字,是你的软件界面更美观
利用vb来实现显示滚动的字,是你的软件界面更美观-use to achieve the characters show rolling, is your software interface more beautiful
- 2022-08-08 04:31:15下载
- 积分:1
-
the template documents of Software Engineering
the template documents of Software Engineering-the template documents of Software Engine ering
- 2022-12-11 19:30: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
-
超宽带无线通信(UWB)技术和应用发展PPT2
超宽带无线通信(UWB)技术和应用发展PPT2-Ultra-wideband wireless communications (UWB) technology and application development PPT2
- 2022-07-17 17:51:14下载
- 积分:1
-
这是一个反字代码
this a code to reverse words-this is a code to reverse words
- 2023-08-26 11:35:04下载
- 积分:1
-
this ian queue.c file
this ian queue.c file
- 2023-05-01 01:55:03下载
- 积分:1
-
重载和递归
应用背景用爪哇语言实现基本编程关键技术超载,载荷,在载荷,,,,,,&;草书,递归,rekursif
- 2022-06-02 21:40:17下载
- 积分:1
-
软件介绍:国内最完善功能最齐全的多级会员程序.主要功能涵盖所有多级会员管理所需,超强大会员自定义编辑功能...
软件介绍:国内最完善功能最齐全的多级会员程序.主要功能涵盖所有多级会员管理所需,超强大会员自定义编辑功能-software introduced : the most sophisticated capabilities of the most complete multi-level membership procedures. The main function covers all multi-level members required for the management, super large members from the definition editing
- 2022-06-16 08:44:38下载
- 积分:1