登录
首页 » 算法 » 背包问题

背包问题

于 2022-03-04 发布 文件大小:29.93 kB
0 278
下载积分: 2 下载次数: 1

代码说明:

背包问题或背囊问题是组合优化中的一个问题: 鉴于一组项目,每个都有大量和一个值,确定每个项目中包含在集合中,这样,总重量是小于或等于给定的限制和总价值是尽可能大的编号。它把它的名字源于所面对的人的问题,受的限制,大小固定的背包,并必须填充的最有价值的项目。 此代码是背包问题的动态编程和递归函数。

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

发表评论

0 个回复

  • several independent firms for each and every line and every small units of one t...
    数独求解 每行和每列和每小格为1到9的数字,用程序求解的算发.-several independent firms for each and every line and every small units of one to nine the number of procedures for the count fat.
    2022-08-09 01:01:35下载
    积分:1
  • php GD库 类
    资源描述水印:把指定水印复制到目标上,加透明效果 缩略图:把大尺寸图片复制到小尺寸图像上 验证码:随机生成中文或英文数字
    2022-04-27 13:25:27下载
    积分:1
  • 下相当的问题说明:2个可装2个八个玻璃…
    倒酒问题描述: 设有两个能装8两的酒杯(称为1号,2号)装满了酒, 和1个能装3两的空酒杯(称为3号), 问怎样用这3个酒杯向4个人 敬酒, 使得每个人都喝4两酒. 要求: 用程序计算出可行方案。 输入: 无 输出: 每一步决策.-down quite Problem description : two can be loaded with two of the eight glasses (known as 1, 2) filled with the wine, and one can hold three two empty glasses (known as the 3rd) and asked how to use it three to four glasses and toast the individual, so that each person maximum servings of both types 4 2 liquor. Request : procedures calculated options. Input : None output : each step of the decision-making.
    2023-06-15 16:35:03下载
    积分:1
  • Dijkstra c
    这我来源代码当我还是教我的学生在我班的数据结构。从这段代码我们可以了解使用 dijkstra 算法的 shotest 路径使用可以使用的 greedy.the 数据,采用是这种格式 txt101 2 101 4 52 3 12 4 33 5 64 2 24 3 94 5 25 1 75 3 4
    2023-06-22 06:40:03下载
    积分:1
  • CG共轭梯度迭代解矩阵方程,Hhestens和Stiefel给出,
    CG共轭梯度法迭代解矩阵方程,Hhestens和Stiefel给出,-Conjugate gradient method CG iterative matrix equation solution, Hhestens and Stiefel given
    2023-08-19 20:10:03下载
    积分:1
  • gradient method
    这是凸优化中梯度法的代码
    2023-05-17 04:10:03下载
    积分:1
  • 麻省理工学院开发的光子晶体软件的计程序,很不错的
    MIT开发出来的计算光子晶体的软件,非常好-MIT developed the calculation of photonic crystal software, very good
    2022-04-01 17:26:58下载
    积分:1
  • 本程序为Kmp匹配的实现,程只需直接运行即可,
    本程序为Kmp匹配算法的实现,程只需直接运行即可,-the procedures for KMP matching algorithm implementation, a journey which takes you directly can run,
    2022-09-10 08:40:03下载
    积分:1
  • 可计生成巴特沃斯、切比雪夫原型滤波器,转换为数字滤波器,并可直接进行滤波...
    可计算生成巴特沃斯、切比雪夫原型滤波器,转换为数字滤波器,并可直接进行滤波-Computable generating Butterworth, Chebyshev prototype filter, is converted to digital filters, can be directly filtered
    2022-09-21 14:50:03下载
    积分:1
  • 一个3,9码生成动态库
    一个3,9码生成动态库- 3,9 yard productions dynamic storehouses
    2023-03-29 20:00:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载