-
sonar_KNN.m
说明: 利用KNN算法对sonar数据分类,用Matlab语言实现(Using KNN to classify sonar data)
- 2020-04-12 21:30:31下载
- 积分:1
-
程序
基于机器人人工势场能算法的移动机器人避障路径规划。(Obstacle avoidance path planning for mobile robot based on robot artificial potential field algorithm.)
- 2018-05-18 16:23:19下载
- 积分:1
-
SatelliteImageClassification-master
说明: GAN网络用于做高光谱图像分类的算法,亲测可以使用,最近写的(GAN network is used to do hyperspectral image classification algorithm, pro - test can be used, recently written)
- 2021-02-17 18:19:45下载
- 积分:1
-
利用LabVIEW编写观测显示的小程序,用于罪…
一个用LabVIEW写的观测显示的小程序,用来对单片机上传的串口数据进行显示,仅适合lv初学者。-Using LabVIEW to write an observation shows that a small procedure, used for single-chip serial port to upload data show that only suitable for beginners lv.
- 2022-05-07 19:13:10下载
- 积分:1
-
家庭财务管理,财务信息,家庭成员,一个小程序…
家庭财务管理
家庭成员财务信息
关于C的小程序-Family financial management, financial information, family members, a small program on the C
- 2023-06-21 09:40:03下载
- 积分:1
-
lm35原理图以及程序
lm35原理图以及程序-lm35 schematics and procedures
- 2022-10-19 16:55:03下载
- 积分:1
-
dyoon
simple personal money accounting arabic language
- 2012-10-16 15:38:18下载
- 积分:1
-
基于excel和vba的高级金融建模
图书 伦敦商学院 基于excel和vba的高级金融建模(Advanced financial modeling based on Excel and VBA)
- 2020-06-19 11:20:02下载
- 积分:1
-
蚁群障碍物2
说明: 蚁群绕过障碍物选择最优路径,能得到实现路径的展示(Ant Colony Routes Obstacles and Chooses the Optimal Path)
- 2019-01-28 00:11:35下载
- 积分: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