-
这是一个用c和matlab编写的程序,用于实现k
这是一个用c和matlab编写的程序,用于实现k-means算法-This is a matlab with c and the preparation of the procedures used to implement k-means algorithm
- 2022-03-10 13:55:58下载
- 积分:1
-
该文档详细介绍了supermap的一些基本知识,让用户能详细了解supermap。...
该文档详细介绍了supermap的一些基本知识,让用户能详细了解supermap。-The document detailed the SuperMap some basic knowledge, so that users can learn more about supermap.
- 2022-02-28 16:15:50下载
- 积分:1
-
ns2 模拟器为样本编码在无线
代码: NS2 模拟器是无线样本检验。工具命令语言 (TCL) 脚本使用固定数量的节点,可以创建无线网络模型。示例代码下面模型讨论了节点的无线网络。节点配置的通道、 网络接口、 电波传播模型、 介质访问控制 (MAC) 协议,adhoc 路由协议、 接口队列、 链路层、 地形对象和天线类型组件。执行文件 sample1.tcl 后可以在网络动画 (NAM) 窗口中查看节点的无线网络
- 2022-02-04 12:53:56下载
- 积分:1
-
asn.1编码的文件查看器,非常不错,是一个不错的小工具
asn.1编码的文件查看器,非常不错,是一个不错的小工具-asn.1 coded document viewer, very Yes, it is a good tool for small
- 2022-02-27 02:33:19下载
- 积分:1
-
血液光量子疗法
ubit-801 固件,七色灯版,解压后使用-ubit-801 firmware version of seven-color lights, after the use of decompression
- 2022-02-22 01:31:28下载
- 积分:1
-
High
高速电路板信号完整性设计 Stephen C. Thierauf著-High-Speed Circuit Board Signal Integrity Auther: Stephen C. Thierauf
- 2022-12-12 23:20:03下载
- 积分:1
-
HomePlug1.0以及HomePlug AV标准白皮书
HomePlug1.0以及HomePlug AV标准白皮书-HomePlug1.0 as well as the HomePlug AV standard white paper
- 2023-01-14 02:30:04下载
- 积分: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++做到飞行游戏,比较好玩,可以供参阅和学习-C++ to do the flight game, more fun, can be used for reference and learning. .
- 2022-06-27 20:24:05下载
- 积分:1
-
介绍如何用单片机配置FPGA,仅供参考,如有疑问请联系我。
介绍如何用单片机配置FPGA,仅供参考,如有疑问请联系我。-how to use microcontroller FPGA configuration, for reference purposes only, if any questions, please contact me.
- 2022-03-16 18:15:24下载
- 积分:1