登录
首页 » 算法 » 给定n 个物品, 物品i重为wi 并且价值为 vi ,背包所能承载的最大容量为 W. 0...

给定n 个物品, 物品i重为wi 并且价值为 vi ,背包所能承载的最大容量为 W. 0...

于 2022-03-09 发布 文件大小:1,006.00 B
0 199
下载积分: 2 下载次数: 1

代码说明:

给定n 个物品, 物品i重为wi 并且价值为 vi ,背包所能承载的最大容量为 W. 0-1 背包问题即是选择含有着最大总价值的物品的子集且它的容量 ≤W . 用动态规划实现-given n goods, items i weight of wi and value of vi, the backpack can carry a maximum capacity of W. 0-1 knapsack problem that is a choice with a maximum total value of the goods but a subset of the W capacity. Dynamic Programming

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

发表评论

0 个回复

  • 这是SIR微分方程模型对初值问题的求解和作图
    这是SIR微分方程模型对初值问题的求解和作图-This is the SIR model differential equations to solve the problem of initial value and mapping
    2022-03-13 22:57:17下载
    积分:1
  • MEPG4协议编解码和源代码、DEMO等
    MEPG4协议编解码算法和源代码、DEMO等
    2022-01-24 17:54:38下载
    积分:1
  • 浙江大学程序设计大赛ACM2478题我自己收集的
    浙江大学程序设计大赛ACM2478题我自己收集的-Zhejiang University Design Competition ACM2478 that my own collection
    2022-06-26 07:22:21下载
    积分:1
  • 另外还包含程序讲解
    另外还包含程序讲解-also includes procedures on
    2022-06-27 22:43:08下载
    积分:1
  • 工业数学
    Industrial Mathematics
    2022-11-08 06:25:03下载
    积分:1
  • c++经典代码大全
    资源描述c++经典代码大全  例子 案例  classic C++ code example
    2022-04-27 18:55:28下载
    积分:1
  • The cart with an inverted pendulum, shown below, is "bumped" with an impulse f...
    The cart with an inverted pendulum, shown below, is "bumped" with an impulse force, F. Determine the dynamic equations of motion for the system, and lin earize about the pendulum s angle, theta = Pi (in other words, assume that p endulum does not move more than a few degrees away from the vertical, chosen to be at an angle of Pi). Find a controller to satisfy all of the design re quirements given below. -The cart with an inverted pendulum, shown below, is "bumped" with an impulse force, F. Determine the dynamic equations of motion for the system, and lin earize about the pendulum s angle, theta = Pi (in other words, assume that p endulum does not move more than a few degrees away from the vertical, chosen to be at an angle of Pi). Find a controller to satisfy all of the design re quirements given below.
    2022-03-17 02:37:20下载
    积分:1
  • 基于角色访问控制代码
    基于角色访问控制代码,链表创建用户,无数据库, 对用户、角色、权限进行配置和管理;用户对角色的指派和权限到用户的指派 基于RBAC1的角色层次管理 基于RBAC2的互斥角色管理,共包含7条链,用户链(user)、角色链(role)、权限链( 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
    2022-08-08 06:40:42下载
    积分:1
  • 想研究透彻正则表达式,必须知道有穷自动机的原理,这个源码可以给你一个很好的示例参考。编译后程序会生成一个可执行文件,运行这个文件出来一个DOS窗口,然后按提示输...
    想研究透彻正则表达式,必须知道有穷自动机的原理,这个源码可以给你一个很好的示例参考。编译后程序会生成一个可执行文件,运行这个文件出来一个DOS窗口,然后按提示输入正则表达式。-Wish to research thoroughly regular expressions, you must know the finite automata theory, this source can give you a good example for reference. The compiled program generates an executable file, run this file out of a DOS window, and then enter the regular expression and follow the prompts.
    2023-05-02 22:15:03下载
    积分:1
  • LZ77压缩编码的C代码,VC开发.
    LZ77压缩编码算法的C代码,VC开发.-LZ77 compression algorithm C code, VC development.
    2022-02-26 22:33:26下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载