-
atl方法使用编程实例
atl方法使用编程实例-ATL ways to use programming examples
- 2022-04-09 09:13:54下载
- 积分:1
-
Processor Scheduling : Web Act by scheduling algorithm randomly generated number...
处理机调度:按轮转法调度算法 随机产生进程的个数及到达时间。-Processor Scheduling : Web Act by scheduling algorithm randomly generated number and the process of arrival time.
- 2022-01-21 23:44:07下载
- 积分:1
-
聊天采用TCP Socket网C #服务器。
Chat Server using TCP Socket in C#.NET
- 2022-11-07 04:30:03下载
- 积分:1
-
多功能计算器
void
mainmenu() /*主菜单*/
void
Integermenu /*整数运算的菜单*/
void
realnumbermenu() /* 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2022-06-12 13:04:39下载
- 积分:1
-
使用 java & netbeans jtree 编程
,Java 平台提供广泛的类和接口用于与树有关的编程。旁边的 JTree 类中 javax.swing 包,几乎是其他人驻留在一个单独的程序包中: 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2022-07-24 10:38:43下载
- 积分:1
-
基于p87c591的can通讯驱动程序源码
基于p87c591的can通讯驱动程序源码-based communications can p87c591 the driver source
- 2022-04-29 18:38:26下载
- 积分: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
-
自己写的一个文字游戏源码!vs2005上写的
自己写的一个文字游戏源码!vs2005上写的-Write their own source of a word game! written in VS2005
- 2022-08-05 22:59:30下载
- 积分:1
-
常用界面,用来做bs架构的项目,包括登陆页面和主界面,页面大方实用...
常用界面,用来做bs架构的项目,包括登陆页面和主界面,页面大方实用-Common Interface
- 2022-05-22 08:54:31下载
- 积分:1
-
小学数学测试系统,随机产生运算题目,可选择测试种类,做完后会给出得分。...
小学数学测试系统,随机产生运算题目,可选择测试种类,做完后会给出得分。-Primary Mathematics test the system, randomly generated subject Operators may choose types of tests, completed after the scores given.
- 2022-08-21 20:12:45下载
- 积分:1