-
C++程序供初学者使用
C++程序供初学者使用-C program for beginners
- 2022-02-01 07:20:26下载
- 积分:1
-
ssh开发的中国移动登录系统,功能包含:注册,登录,查询。...
ssh开发的中国移动登录系统,功能包含:注册,登录,查询。-ssh development of China Mobile sign-on system, features include: registration, login, query.
- 2022-04-17 17:38:49下载
- 积分:1
-
vc调用大漠插件源码
使用vc调用大漠插件,可以进行编写自己的插件,也可以直接编写游戏脚本。
- 2022-01-24 15:07:11下载
- 积分: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
-
Jiangxi eighteenth Undergraduate Electronic Design Contest group
江西省第十八届本科组自选电子设计竞赛试题-Jiangxi eighteenth Undergraduate Electronic Design Contest group-on-demand test
- 2022-03-18 13:42:32下载
- 积分:1
-
老牌的论坛策略游戏,很经典的,中文名《星际迷航》
老牌的论坛策略游戏,很经典的,中文名《星际迷航》-strategy game classic, Chinese name "Star Trek"
- 2023-02-08 13:50:04下载
- 积分:1
-
微软报表解析器语言生成器。选择微软的报表之后可以把每个节点生成一个实体类...
微软报表解析器语言生成器。选择微软的报表之后可以把每个节点生成一个实体类-Microsoft statements language parser generator. Choice of Microsoft
- 2023-06-22 15:30:03下载
- 积分:1
-
阅读的格式SEGY地震数据segyreader,输入SEGY .h文件卷赛格…
读取Segy格式地震数据的类SegyReader,
在segy.h文件中有segy卷头/道头的每一个字段的中文详细说明,方便大家查询使用.
另外, 使用QT3.x制作的GUI界面程序, 可以选择一个segy文件, 使用SegyReader类读取并显示相关信息在界面上.-Read format Segy type of seismic data SegyReader, in segy.h document volumes segy head/Road, the first field of each detailed description of the Chinese to facilitate the use of inquiries. In addition, the use of the GUI interface QT3.x production procedures, segy can choose a file, use the category SegyReader read and display relevant information in the interface.
- 2022-04-15 15:36:12下载
- 积分:1
-
全套ACE核心代码,用于TCPIP通讯,经过多次整理,已经应用于成熟产品...
全套ACE核心代码,用于TCPIP通讯,经过多次整理,已经应用于成熟产品-ACE full set of core code for TCPIP communication, through a series of sorting has been applied to a mature product
- 2022-06-01 22:43:54下载
- 积分:1
-
通过菜单的start 来开启一个线程程,以及停止功能来停止一个线程,同时可以开启多个线程,来实现界面图形多个时钟功能...
通过菜单的start 来开启一个线程程,以及停止功能来停止一个线程,同时可以开启多个线程,来实现界面图形多个时钟功能-Through the start menu to open a thread process, as well as the stop function to stop a thread, multiple threads can be opened at the same time, to achieve graphical interface features a number of clock
- 2022-08-08 06:44:12下载
- 积分:1