-
原油套利神器
说明: 半自动布油美油对冲套利,最近已稳定获利50%,还不错,可以试试(Semi-automatic oil distribution and American Oil Hedging arbitrage)
- 2021-02-16 00:09:47下载
- 积分:1
-
C#写的俄罗斯方块
C#写的俄罗斯方块 -C# Written Tetris C# Written Tetris
- 2022-07-24 15:18:06下载
- 积分:1
-
这个压缩包里 有Java的三个eclesp需要的
这个压缩包里 有Java的三个eclesp需要的-The compression bag has three Java needs eclesp
- 2022-09-06 13:40:03下载
- 积分:1
-
qgis-earthengine-examples-master
说明: 地理信息处理和下载工具,基于QGIS 和GEE,希望对您有所帮助(based on Qgis and GEE)
- 2020-07-20 11:49:11下载
- 积分: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
-
leetcode
leetcode question to have a better understanding
- 2020-06-22 09:40:06下载
- 积分:1
-
CPSO
说明: CPSO stands for constrained particle swarm optimization
- 2019-06-05 19:28:15下载
- 积分:1
-
交通快速路控制的alinea算法程序
交通快速路控制的alinea算法程序,附带vissim路网(Alinea algorithm for Expressway Control)
- 2020-12-24 20:29:05下载
- 积分:1
-
IK
说明: 四索并联的逆解算法 也可以有正解的 后面在分析动力学(The four-cable parallel inverse solution algorithm can also have a positive solution behind the analysis dynamics)
- 2021-03-25 15:48:15下载
- 积分:1
-
利用Kaveh法估计ARMA过程功率谱,只需计算AR系数,简化过程。
利用Kaveh法估计ARMA过程功率谱,只需计算AR系数,简化过程。-Kaveh estimation using ARMA process of the power spectrum, simply calculating AR coefficients, to simplify the process.
- 2022-10-27 03:25:04下载
- 积分:1