-
仿真adhoc网络,文件是仿真adhoc的tcl源代码
仿真adhoc网络,文件是仿真adhoc的tcl源代码-simulate adhoc network
- 2022-04-17 12:26:00下载
- 积分:1
-
学习WPF的好东西,看后可以了解.net语言如何和WPF联系上。
学习WPF的好东西,看后可以了解.net语言如何和WPF联系上。-WPF learning good things, after the watch can understand. Net languages and how to contact WPF.
- 2022-12-27 05:20:03下载
- 积分:1
-
Matlab 数值计算机编程介绍
附件里提供的页面信息,为完成CAPE讲座《Matlab 数值计算机编程介绍》提供了参考。 每个主要标题和相关练习的链接都有。你可以好好利用这些练习,对熟悉内容很有帮助。
- 2023-05-12 11:30:02下载
- 积分:1
-
ao的一些代码集合,初学者通过这些代码,可以初步了解arcobject。...
ao的一些代码集合,初学者通过这些代码,可以初步了解arcobject。-ao some code set, beginners through these codes can be a preliminary understanding arcobject.
- 2022-05-16 10:08:01下载
- 积分:1
-
this document mainly to explain the establishment of a binary tree building proc...
此文件主要说明了二叉树的建立建立过程,用户看后可提出意见!-this document mainly to explain the establishment of a binary tree building process, users can read comments!
- 2023-07-15 13:40:03下载
- 积分: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
-
一个简单的游戏观看
一个简单的猜数字游戏-a simple game viewing
- 2022-08-23 09:15:58下载
- 积分:1
-
一个简单的迷宫冒险游戏。玩家要在避免被屠夫抓住的同时吃掉屏幕中不断出现的食物。。。要编译这个游戏,需要安装DirectX 8.0 SDK或以上版...
一个简单的迷宫冒险游戏。玩家要在避免被屠夫抓住的同时吃掉屏幕中不断出现的食物。。。要编译这个游戏,需要安装DirectX 8.0 SDK或以上版-a simple maze adventure game. Players must avoid being a butcher at the same time seize the screen continually eaten the food. . . To build this game and need to install DirectX 8.0 SDK version or above
- 2022-07-10 20:54:55下载
- 积分:1
-
song full of nicely ah
这首歌满好听 的啊-song full of nicely ah
- 2022-12-10 07:40:02下载
- 积分:1
-
在任意移动的窗口中实现小球的控制
实现控制一个小球在窗口中上下左右任意移动-achieve control of the ball in a small window above and below arbitrary Mobile
- 2022-07-05 02:48:10下载
- 积分:1