登录
首页 » 算法 » 这是计算机算法基础中的动态规划的方法的一个例子,多段图是一个很经典的问题!这里的程序用于求解最小成本路径,用类似的思想可以解决最优分配方案的问题!...

这是计算机算法基础中的动态规划的方法的一个例子,多段图是一个很经典的问题!这里的程序用于求解最小成本路径,用类似的思想可以解决最优分配方案的问题!...

于 2022-02-24 发布 文件大小:5.74 kB
0 239
下载积分: 2 下载次数: 1

代码说明:

这是计算机算法基础中的动态规划的方法的一个例子,多段图是一个很经典的问题!这里的程序用于求解最小成本路径,用类似的思想可以解决最优分配方案的问题!-This is a computer algorithm based on the dynamic programming methods of an example, many of the map is a classic question! Here the procedures for calculating the minimum cost path, with similar ideas can solve the optimal distribution program!

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

发表评论

0 个回复

  • square screen test standard method soon
    平方筛 验证质数的方法,很快-square screen test standard method soon
    2023-08-07 10:00:04下载
    积分:1
  • 本程序用FORTRAN求解gauss_seidel写。这是字文件。
    this a program written by fortran for solving Gauss_Seidel. it s in word file.-this is a program written by fortran for solving Gauss_Seidel. it s in word file.
    2022-04-17 08:18:38下载
    积分:1
  • 用C++编写的拉格朗日插值
    用C++编写的拉格朗日插值算法-C Lagrange prepared by the interpolation algorithm
    2023-04-12 09:55:03下载
    积分:1
  • 不能移动的石子合并
    资源描述做如下两个模型的石子合并,如下模型石子都不能移动出列,且合并都仅发生在相邻两堆石子中: (1)第一个模型:一行排列且相邻合并 有n堆石子A1,A2,...,An形成一行,每堆石头个数记为ai(1
    2022-03-06 16:38:01下载
    积分:1
  • 非定常解的程序
    Program for solving the unsteady one-dimensional convection/diffusion equation using FD method and various discretization schemes for convective and diffusive terms and for time integration.
    2023-04-05 21:05:03下载
    积分:1
  • 新型GA
    一种好的改进遗传算法function [opy,optimy]=GA(pt,gennum,psize)% 输入参数:% pt       m*n的加工时间矩阵(n是工件数目,m是机器数目)由已知给的T矩阵,可得n=100,m=10% gennum   迭代的次数(代数)% psize    种群的规模大小%输出参数:% opy       最优的Makespan值pc=0.9;%交叉因子pm=0.1;%变异因子[m,n]=size(pt);current_gen=1;%current_gen means the current generationnewgen=zeros(psize,n+1); %mewgen is the new generation of the populationnewgen(1:psize,1:n)=rand(psize,n);%主种群初始化,0-1之间的随机数 %Generalize the initial groupfather=zeros(2,n); %father is used to store the two genes for crossover and mutation avgen=zeros(1,gennum); %avgen is the matrix of the average of all the generationsoptimx=zeros(1,n);optimy=ones(1,gennum);%Generalize the initial groupfor i=1:psize    [Ya,pop(i,1:n)]=sort(newgen(i,1:n));%种群排序,实数编码转换为自然数编码 随机生成的0-1之间的小数进行排序然后取每个从小到大数对应的位置    newg
    2022-03-18 14:25:18下载
    积分:1
  • SPWM正弦波
    应用背景用于正弦波逆变,查表法,基于STM32,频率可调,编译通过,还没有做东西,谢谢 给大家分享 相互学习!关键技术keil环境,查表法,基于STM32帮助学习正弦波控制的逆变,电机等项目的学习!
    2022-11-16 04:50:04下载
    积分:1
  • vc achieve Mallat algorithm
    vc实现mallat算法-Wavelet。mattat是很有名的算法。本程序提供了完整的示例。-vc achieve Mallat algorithm-Wavelet. Mattat is well-known algorithm. This program provides a complete example.
    2022-02-15 06:43:46下载
    积分:1
  • 2022-06-30 06:05:11下载
    积分:1
  • 程序是我们上课时中用到的,工程科学计与C程序集 (上,下) 相信是很有用的!...
    程序是我们上课时中用到的,工程科学计算与C程序集 (上,下) 相信是很有用的!-is our class names, scientific computing and engineering procedures Set C (upper and lower) believe that it is very useful!
    2022-03-30 06:15:02下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载