-
FuncPlotter is a combined Java application and applet for displaying two
FuncPlotter is a combined Java application and applet for displaying two-dimensional plots of explicit functions in one variable (ie, FuncPlotter plots functions of the form y = f(x), where f(x) is composed from common mathematical operators).
- 2022-03-18 14:09:08下载
- 积分: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
-
这是一个有关于TCP/IP得技术资料
这是一个有关于TCP/IP得技术资料-This is a have on the TCP/IP a technical data
- 2022-03-01 04:44:19下载
- 积分:1
-
geophysical professional numerical simulation, we can refer to, they can build o...
地球物理专业的数值模拟,大家可以参考,也可以在此基础上拓展.-geophysical professional numerical simulation, we can refer to, they can build on this foundation.
- 2022-04-26 12:28:10下载
- 积分:1
-
游戏一个小游戏你可以自己在其中玩!很好玩的一款游戏啊
游戏一个小游戏你可以自己在其中玩!很好玩的一款游戏啊-game a little game you can play in them! Very fun in a game ah
- 2022-05-25 07:46:51下载
- 积分:1
-
唐山市用ARC做的地图矢量化,是进行系统开发的准备和前提条件。...
唐山市用ARC做的地图矢量化,是进行系统开发的准备和前提条件。-Tangshan City to do with ARC map vectorization is to carry out system development and prepare a prerequisite.
- 2022-07-18 01:41:05下载
- 积分:1
-
用小程序编写的一个小程序,使用串口存储。
用VC写的日记笔小程序,采用的序列化存储.-Diary written by VC T small procedures, the use of serial storage.
- 2022-01-23 10:31:44下载
- 积分:1
-
二进制查找树实现代码
二进制查找树实现代码-achieve binary search tree code
- 2022-03-25 06:38:56下载
- 积分:1
-
一个不错的网上购物系统的源代码
一个不错的网上购物系统的源代码 -a good online shopping system source code a good online shopping system source code
- 2022-03-20 11:54:33下载
- 积分:1
-
用法:无效CRC(int,int,int)
Usage: void CRC(int*, int,int)
Input: XAR0:coded data(InputData)
XAR1:decoded CRC bits(CrcPoly)
T0: Length of coded data(CodeOutlen)
T1: Length of CRC bits(CrcPolylen)
Return: NO
Altered Registers: AC0-AC2,T2
Others: 8 bits of AC0 LSB is CRCcheck bit-Usage: void CRC (int*, int*, int, int) Input: XAR0: coded data (InputData) XAR1: decoded CRC bits (CrcPoly) T0: Length of coded data (CodeOutlen) T1: Length of CRC bits (CrcPolylen) Return: NO Altered Registers: AC0-AC2, T2 Others: 8 bits of AC0 LSB is CRCcheck bit
- 2022-01-26 03:25:53下载
- 积分:1