-
超小的图片压缩源码。用VC开发。欢迎下载试用。没有版权。
超小的图片压缩源码。用VC开发。欢迎下载试用。没有版权。-Ultra-small source of image compression. With VC development. Welcome to download them for trial use. No copyright.
- 2022-03-13 21:35:49下载
- 积分: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
-
atmel 汇编代码,用于调试实验用,精简实用,适用于初学者
atmel 汇编代码,用于调试实验用,精简实用,适用于初学者-atmel assembly code
- 2022-02-01 13:20:23下载
- 积分:1
-
Matlab language c s function and achieve incremental pid control algorithm
matlab的c语言s函数,实现增量式pid控制算法-Matlab language c s function and achieve incremental pid control algorithm
- 2022-09-20 23:05:03下载
- 积分:1
-
一些SAR数据的MATLAB文件,希望对大家有用
一些sar数据,matlab文件,希望对大家有用-Some sar data, matlab file, in the hope that useful
- 2023-07-31 17:20:03下载
- 积分:1
-
MyLibray图书管理系统
图书馆管理系统,里面都有提示!
登陆页是:/adminLogin.aspx
默认管理帐号/密码:51aspx/51aspx
普通用户帐号/密码:test/51aspx
DB_51aspx下为数据库文件,附加即可
- 2022-01-30 14:28:23下载
- 积分:1
-
tidsp2407汇编程序例程,完整的源代码。
tidsp2407汇编程序例程,完整的源代码。-tidsp2407 assembler routines, complete source code.
- 2023-07-23 17:50:04下载
- 积分:1
-
这是一个用C语言编写的,用于转换我们中国特有的农历与阳历,有一定的参考价值
这是一个用C语言编写的,用于转换我们中国特有的农历与阳历,有一定的参考价值-This is a C language, for the conversion of our unique to China and the Chinese solar calendar, which is the reference value
- 2022-08-13 09:14:16下载
- 积分:1
-
快速傅立叶变换计算多项式,strassen算法计算矩阵相乘,以及其和普通多项式、矩阵乘法的比较...
快速傅立叶变换计算多项式,strassen算法计算矩阵相乘,以及其和普通多项式、矩阵乘法的比较-Fast Fourier Transform calculation of polynomial, strassen matrix multiplication algorithm, and its and ordinary polynomials, matrix multiplication comparison
- 2022-04-19 01:10:11下载
- 积分:1
-
linux 贪吃蛇 GCC编译 在终端下进行游戏,不需要打开xwindow
linux 贪吃蛇 GCC编译 在终端下进行游戏,不需要打开xwindow-Snake GCC compiler linux in a terminal under the games, without having to open XWindow
- 2022-05-19 07:13:17下载
- 积分:1