-
c语言解决图论问题,Floyed算法
c语言解决图论问题,Floyed算法,可修改(c olves graph theory problems. Floyed algorithm can be modified.)
- 2020-06-17 01:20:01下载
- 积分:1
-
FCS_PMSM
说明: this file contains the coding of coding for finite control set mpc for permanent magnet synchronous motor
- 2020-01-16 01:52:45下载
- 积分:1
-
arm 指令中文参考书 相当不错
初学者可以入门用。老手也可作参考!...
arm 指令中文参考书 相当不错
初学者可以入门用。老手也可作参考!-arm directive Chinese reference books quite a beginner can use induction. Veterans also can be used as a reference!
- 2022-03-12 22:37:22下载
- 积分:1
-
GEE GOM传奇M2超级插件1.116-gm016论坛
GEE GOM传奇M2超级插件1GEE GOM传奇M2超级插件1.116-gm016论坛(rerergergergergeeeeeeeeeeeeeeeew2w3r)
- 2019-06-26 16:54:09下载
- 积分:1
-
AD
说明: ADC AD7768-1单通道24bitADC驱动程序(ADC ad7768-1 single channel 24bit ADC driver)
- 2020-07-13 13:55:08下载
- 积分:1
-
超宽带无线通信(UWB)技术和应用发展PPT2
超宽带无线通信(UWB)技术和应用发展PPT2-Ultra-wideband wireless communications (UWB) technology and application development PPT2
- 2022-07-17 17:51:14下载
- 积分:1
-
艾略特波浪理论
关于波浪理论的初步及进阶,如果配合道氏理论可能在趋势及调整行情分析的更透彻(Preliminary and Advancement of Wave Theory)
- 2020-06-23 19:20:01下载
- 积分: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
-
使用C语言写的求解一道简单的逻辑推理题的例子。具体题目请看说明。...
使用C语言写的求解一道简单的逻辑推理题的例子。具体题目请看说明。-use of the C language to write a simple solution to the logical inference that example. See note specific topics.
- 2022-02-16 09:10:10下载
- 积分:1
-
wifiLocator
使用wifi指纹以及参考点信号强弱实现定位安卓手机精确定位(Fingerprint and the reference point using wifi signal strength to achieve precise positioning positioning Android phones)
- 2020-12-20 23:39:09下载
- 积分:1