登录
首页 » 算法 » 最短路径

最短路径

于 2022-07-25 发布 文件大小:10.84 kB
0 87
下载积分: 2 下载次数: 1

代码说明:

Description 求出有n(1 < n < 600)个结点有向图中,结点1到结点n的最短路径。  Input 第一行有2个整数n和m(0 < m

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论


0 个回复

  • A program to demonstrate the optimization process of ant colony optimization for...
    A program to demonstrate the optimization process of ant colony optimization for the traveling saleman problem (TSP). The cities are shown as red circles, the pheromone on the connections between them (fully connected graph) by gray lines. The darker the grey, the more pheromone is currently on the edge. During the optimization, the currently best found tour is drawn in red. To run the optimization, first create a random TSP, then create an ant colony, and finally run the optimization.
    2022-02-19 22:51:42下载
    积分:1
  • 蚁群的java实现
    该算法用java程序实现,对传统蚁群算法有一定的改进,不仅使用了轮盘技术而且很大程度上缩短了搜素时间并提高效率,迭代次数减少,有一定的优化。
    2022-07-20 09:12:23下载
    积分:1
  • traveling salesman problem source code traveling salesman problem
    货郎担问题源代码 货郎担问题源代码-traveling salesman problem source code traveling salesman problem
    2023-01-27 20:10:03下载
    积分:1
  • A complete numerical simulation software, can realize high interpolation Sin phe...
    完整的数值模拟软件,可以实现高次插值的Sin现象,三次分段埃米尔插值,Gauss赛德尔迭代法等多种算法-A complete numerical simulation software, can realize high interpolation Sin phenomenon, three sub-Emir Interpolation, Gauss Seidel iteration algorithm, etc.
    2022-02-13 10:06:02下载
    积分:1
  • 目的是把左边的所有盘子移到右边的杆子上。一次只能移动一个盘子,你可以使用中间的杆子作为临时存放盘子的地方。小盘子必须放在大盘子之上。问题看似不难。的确,如果盘子...
    目的是把左边的所有盘子移到右边的杆子上。一次只能移动一个盘子,你可以使用中间的杆子作为临时存放盘子的地方。小盘子必须放在大盘子之上。问题看似不难。的确,如果盘子只有两三个,是很容易解决的。但是随着盘子数目的增加,问题就变得非常难解了。 -purpose is to the left of all the dishes moved to the right side of the pole. Only a mobile one tray, you can use the middle of the pole plate as a temporary storage place. Small plates must be placed on the platter on top. It may seem it is not difficult. Indeed, if the plate is only 23, it"s very easy to solve. But with the increase in the number of dishes, the problem has become a very difficult.
    2022-01-31 01:19:13下载
    积分:1
  • 序列 alignment(DNA)
    基本点序列比对算法。当 newgeneis 发现,通情达理理解其功能的标准方法就是看通过已知基因的数据基和夏装接近的匹配项。如此接近的两个基因是由他们排列的程度来衡量的。正式这,想到作为一个长字符串在字母表 σ 上的基因 = {A、 C、 G、 T}。考虑两个基因 (字符串) x = ATGCC 和 y = TACGCA。对齐的 x 和 y 是一种通过编写他们 incolumns,比如说匹配这两个字符串:− T − G C C− C G C T A
    2022-11-01 14:00:03下载
    积分:1
  • 随机游走
    随机游走生成器:此代码模拟了一个随机游走过程请注意,"%" 任何指示的权利它是为人类阅读和 MATLAB 忽略注释。
    2022-03-22 04:07:52下载
    积分:1
  • Schrodinger Equation numerical calculation equation
    Schrodinger Equation 数值计算中的方程-Schrodinger Equation numerical calculation equation
    2022-04-17 00:16:20下载
    积分:1
  • 隐马尔夫模型的源代码
    隐马尔夫模型的源代码-implicit successor model of source code
    2023-09-03 21:25:03下载
    积分:1
  • 这是一个对数学表达式求值的C++ class,详细的说明在Calculator.pdf中。...
    这是一个对数学表达式求值的C++ class,详细的说明在Calculator.pdf中。-this is a mathematical expression evaluates the C class, detailed description of the Calculator.pdf China.
    2023-09-08 17:30:04下载
    积分:1
  • 696518资源总数
  • 104514会员总数
  • 30今日下载