-
ACM无向连通图最小生成树
题目描述
请输出无向连通图最小生成树权重之和。
输入
第一行是2个整数,分别表示顶点个数n和边数m。接下来的m行中,每一行第一个整数表示边的开始顶点,第二个表示边的结束顶点,第三个表示这条边的权重。
(
测试数据中保证图是连通图;
没有自环;
两个顶点之间只有一条边;
0
- 2022-02-22 12:05:25下载
- 积分:1
-
vibe前景检测
vibe算法实现,对视频中图像帧二值化操作后,进行轮廓融合,能够提取较好的前景。vibe算法实现,对视频中图像帧二值化操作后,进行轮廓融合,能够提取较好的前景。vibe算法实现,对视频中图像帧二值化操作后,进行轮廓融合,能够提取较好的前景。vibe算法实现,对视频中图像帧二值化操作后,进行轮廓融合,能够提取较好的前景。
- 2022-08-06 17:18:26下载
- 积分:1
-
有向图的广度深度遍历
解决有向图的广度深度遍历的一种算法,原创性很强,可以手动输入节点的连线,自动生成邻接矩阵,然后通过邻接矩阵分别计算出广度优先遍历的次序和深度优先遍历的次序。
- 2022-02-03 15:33:46下载
- 积分:1
-
BFO算法应用
将用matlab编译的N-R法用于潮流计算是以导纳矩阵为基础的,由于利用了导纳矩阵的对称性、稀疏性及节点编号顺序优化等技巧,使N-R法在收敛性、占用内存、计算速度方面的优点都超过了阻抗法,成为六十年代末期以后普遍采用的方法。
- 2023-01-05 09:55:03下载
- 积分:1
-
利用横向递归算法解决数据组合的问题, 比如数组为a, 长度为len, 横向递归 B display(a,len) b是二维数组,a是一维数组...
利用横向递归算法解决数据组合的问题, 比如数组为a, 长度为len, 横向递归 B display(a,len) b是二维数组,a是一维数组-the use of horizontal recursive algorithm to solve the problem of data sets, such as the array is a length of len, horizontal display recursive B (a, len) b is the two-dimensional array, is a one-dimensional arrays
- 2022-03-23 12:54:55下载
- 积分:1
-
A program to demonstrate the optimization process of particle swarm optimization...
A program to demonstrate the optimization process of particle swarm optimization. A two-dimensional objective function is visualized by level of grey: the lighter the color, the higher the function value. The particles are shown as red circles, their trajectory as red lines.-A program to demonstrate the optimization process of particle swarm optimization. A two- dimensional objective function is visualized by level of gray : the lighter the color, the higher the value function. The particles ar e shown as red circles. their trajectory as red lines.
- 2022-10-27 02:55:03下载
- 积分:1
-
解稀疏对称方程组的ICCG法fortran源程序
有算例,希望对你有帮助...
解稀疏对称方程组的ICCG法fortran源程序
有算例,希望对你有帮助-Solution of sparse symmetric linear ICCG method source fortran examples there, and they hope to help you
- 2022-10-10 17:25:03下载
- 积分:1
-
旅行商问题遗传算法MATLAB程序
本文利用遗传算法的全局搜索能力求解,针对旅行商问题(TSP),设计一种贪婪算子个体保护的遗传算法,并使用MATLAB程序快速求解出了满意的结果。
- 2022-01-30 15:29:10下载
- 积分:1
-
Fast Fourier Transform C language source code
快速傅利叶变换 C 语言源代码-Fast Fourier Transform C language source code
- 2022-03-20 14:09:03下载
- 积分:1
-
通过编制迷宫程序来熟练掌握A*算法。充分理解A*算法和启发函数的关系...
通过编制迷宫程序来熟练掌握A*算法。充分理解A*算法和启发函数的关系-through the preparation of the maze procedure to skillfully master A* algorithm.* A full understanding of algorithms and heuristic function of
- 2022-03-31 01:37:11下载
- 积分:1