登录
首页 » 电子书 » 0_1背包问题,回溯法解背包问题 0

0_1背包问题,回溯法解背包问题 0

于 2022-01-26 发布 文件大小:6.17 kB
0 166
下载积分: 2 下载次数: 1

代码说明:

0_1背包问题,回溯法解背包问题 0-l背包问题是子集选取问题。一般情况下,0-1背包问题是NP难题。0-1背包 问题的解空间可用子集树表示。解0-1背包问题的回溯法与装载问题的回溯法十分类 似。在搜索解空间树时,只要其左儿子结点是一个可行结点,搜索就进入其左子树。当 右子树有可能包含最优解时才进入右子树搜索。否则将右子树剪去。设r是当前剩余 物品价值总和;cp是当前价值;bestp是当前最优价值。当cp+r≤bestp时,可剪去右 子树。计算右子树中解的上界的更好方法是将剩余物品依其单位重量价值排序,然后 依次装入物品,直至装不下时,再装入该物品的一

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

发表评论

0 个回复

  • 商品信息管理 asp数据代码
    商品信息管理 asp数据代码-commodity information management data source asp
    2022-05-23 02:33:55下载
    积分:1
  • ACE程序员指南
    ACE programmer guide
    2023-08-23 01:30:04下载
    积分:1
  • Digital signal processing procedures for the collection of three, full of a vari...
    数字信号处理的程序集合之三,饱含数字信号处理的各种算法,是可以帮助学习信号处理的好东西-Digital signal processing procedures for the collection of three, full of a variety of digital signal processing algorithms, is the signal processing can help to learn good things
    2022-03-05 08:40:28下载
    积分:1
  • 《j2ee经典实例详解》的源代码。原无附带光盘。介绍的是一个在线银行系统的例。绝对难得,在国外网站上下的,与大家共享。...
    《j2ee经典实例详解》的源代码。原书无附带光盘。介绍的是一个在线银行系统的例子。绝对难得,在国外网站上下的,与大家共享。-"creates classic example explanation" of the source code. The original book without CD-ROM attached. The briefing is an online banking system examples. Absolutely rare in foreign countries across the site and share.
    2023-02-06 00:20:06下载
    积分:1
  • VC与MATLAB,计算速度更快,程序较为繁琐,但垫…
    VC运算速度较快,相对于matlab而言,编程较为烦琐,而matlab编程灵活,并且方很多工具箱,使用极为方便,但是matlab的M语言编写的仿真程序的仿真速度相对较慢。 C-MEX函数是基于C语言编写的C与matlab接口函数,是matlab应用程序接口的一个重要组成部分。通过它不但可以将现有的C语言编写的程序轻松地引入到matlab环境中使用,避免了重复的程序设计,而且可以使用C语言为matlab定制用于特定目的的函数(如为了保护算法设计等), 以完成在matlab中不易实现的任务。此外,更重要的一点,使用C语言编写的C-MEX函数可以有效地提高M灯matlab环境中数据处理速度和效率。 -VC computing faster, compared to matlab, the program is more cumbersome, but matlab programming flexibility, and a lot of side toolbox, use very convenient, but the M-language matlab simulation program written in a relatively slow simulation speed. C-MEX function is based on the C language interface written in C and matlab functions matlab application interface is an important component. It can not only be through the existing programs written in C language easily introduced into the matlab environment, to avoid the duplication of programming, and can be customized using the C language for matlab functions for specific purposes (such as algorithm design, etc. in order to prote
    2022-02-26 02:53:32下载
    积分:1
  • Java Web服务,相当的好,可以
    Java Web服务,相当的好,可以-Java web services,and it is very good.
    2022-08-23 15:02:19下载
    积分:1
  • 数字图像处理算法,冈萨雷斯的,经典算法各种算法
    数字图像处理算法,冈萨雷斯的,经典算法各种算法-digital image processing algorithms, Gonzalez, classical algorithm algorithms
    2022-01-25 21:47:20下载
    积分:1
  • Gainta Modular boxes 3
    Gainta Modular boxes 3
    2022-03-31 22:37:57下载
    积分:1
  • 基于c的数字信号编程
    基于c的数字信号编程-based digital signal Programming
    2022-03-13 03:52:06下载
    积分:1
  • 等级考试三级试题全集
    等级考试三级试题全集-grade examination papers confined to three
    2022-03-01 07:49:18下载
    积分:1
  • 696518资源总数
  • 106148会员总数
  • 10今日下载