-
CORBA程序设计的一个实例。大中型软件系统各模块不在一台机子上运行,很难维护,这里就是一个CORBA组件开发实例...
CORBA程序设计的一个实例。大中型软件系统各模块不在一台机子上运行,很难维护,这里就是一个CORBA组件开发实例-An instance of CORBA programming. And medium-sized software system, the module does not run on a single machine, it is difficult to maintain, here is an instance of a CORBA component development
- 2022-08-31 21:35: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
-
51单片机波特率计算器,可以输入波特率计算初值,也可初值计算波特率,很好用的,节省时间...
51单片机波特率计算器,可以输入波特率计算初值,也可初值计算波特率,很好用的,节省时间-51 MCU baud rate calculator, you can enter the baud rate calculation of the initial value can also be calculated initial baud rate, good use and save time
- 2022-03-22 07:05:37下载
- 积分:1
-
对于汉诺塔,大家一点不陌生,这是我数据结构的一个作业,里面讲的很详细...
对于汉诺塔,大家一点不陌生,这是我数据结构的一个作业,里面讲的很详细-The Tower of Hanoi, is no stranger to everyone, this is my data structure of a work, which stresses the very detailed
- 2023-04-28 17:20:03下载
- 积分:1
-
这是个用Java语言编写的游戏小程序。故事的起因是:冷战虽然结束了,但又出现了来自太空的新敌人UFO,它们可以干扰自动导航的导弹系统,所以你得亲自标准目标,射击...
这是个用Java语言编写的游戏小程序。故事的起因是:冷战虽然结束了,但又出现了来自太空的新敌人UFO,它们可以干扰自动导航的导弹系统,所以你得亲自标准目标,射击。不能让它们登陆,否则你就输了!希望你从中可以学会如何用Java来编写此类游戏。-This the Java programming language of the game small programs. The causes of the story : Although the Cold War is over, but from a new enemy space UFO, they can interfere with the automatic navigation systems, so you have to personally standard target shooting. They can not allow the landing, otherwise you lose! I hope you can learn from how to use Java to prepare such games.
- 2022-06-03 13:35:07下载
- 积分:1
-
7219驱动程序 其中包括7219的个寄存器地址功能及用法
7219驱动程序 其中包括7219的个寄存器地址功能及用法-7219 it can make 7219 do it can do
- 2022-04-14 13:34:44下载
- 积分:1
-
这是一个很好的游戏啊 ,欢迎大家来下在和上穿关于这方面的东西啊...
这是一个很好的游戏啊 ,欢迎大家来下在和上穿关于这方面的东西啊-This is a good game ah, welcoming everyone to come in and under to wear this on the things ah
- 2022-01-26 07:01:43下载
- 积分:1
-
两阶段锁定
程序来模拟两阶段锁.那里是没有连接到数据库。故事设置在源代码中和跑步后,结果将显示在控制台上。
- 2022-03-31 09:51:31下载
- 积分:1
-
family financial management, for a family day
家庭理财,用于家庭个日常财务管理,方便快捷-family financial management, for a family day-to-day financial management, convenient and quick
- 2022-02-18 13:43:00下载
- 积分:1
-
一个不错考核管理系统,自己写的希望大家多提宝贵意见
一个不错考核管理系统,自己写的希望大家多提宝贵意见-a good assessment management system, wrote the hope that we provide more valuable opinions
- 2022-08-14 02:43:04下载
- 积分:1