登录
首页 » 其他项目 » 1.在选择装入背包的物品时,对每种物品I只有两种选择,即装入背包或不装入背包。不能将物品I装入背包多次,也不能只装入部分的物品I。 2.物品的种数,重量、价...

1.在选择装入背包的物品时,对每种物品I只有两种选择,即装入背包或不装入背包。不能将物品I装入背包多次,也不能只装入部分的物品I。 2.物品的种数,重量、价...

于 2022-03-25 发布 文件大小:19.71 kB
0 286
下载积分: 2 下载次数: 1

代码说明:

1.在选择装入背包的物品时,对每种物品I只有两种选择,即装入背包或不装入背包。不能将物品I装入背包多次,也不能只装入部分的物品I。 2.物品的种数,重量、价值,背包的容量要求输入; 3.算法中加入剪枝函数(对重量已经超过限制重量的子树不搜索); -1. In the selection of the items into the backpack, for each of the items I have only two choices, that is loaded or not loaded backpack backpack. Items should not be many times I load backpack can not only part of the goods loaded I. 2. Number of species items, weight, value, capacity backpack for the importation 3. Algorithm to add pruning function (of weight over the weight limit does not search sub-tree)

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

发表评论

0 个回复

  • matlab小波去噪
    matlab小波去噪
    2022-12-26 15:40:03下载
    积分:1
  • through the interface configuration, generating a concealed documents and search...
    通过界面配置,生成一个隐蔽查找文件及特征关键词的控制台程序。通过运行该控制台程序,就可将查找到的文件名保存到C:\_log.txt文件中了。-through the interface configuration, generating a concealed documents and search features keyword console procedures. By running the console procedures, it can find the file name to save to C : _log.txt the document.
    2023-06-19 09:55:03下载
    积分:1
  • 该文章属于计算机视觉领域,它主要论述了在运动标分析中如何去除影子和半影的影响,该文章所涉及的方法应用较广泛且算法简单,是一篇不可多得文章...
    该文章属于计算机视觉领域,它主要论述了在运动目标分析中如何去除影子和半影的影响,该文章所涉及的方法应用较广泛且算法简单,是一篇不可多得文章-this paper is good,it s tell us how to remove shadow and umper,the method is used in moving object detection
    2023-04-11 07:40:03下载
    积分:1
  • 计算机组成原理试题13,提供给在校学生,或者考研需要者,希望能提供一些帮助...
    计算机组成原理试题13,提供给在校学生,或者考研需要者,希望能提供一些帮助-Principles of Computer Organization Test 13, made available to students at school, or study section for those who need it, hoping to provide some help
    2022-05-21 16:27:52下载
    积分:1
  • % 该Matlab程序基于牛顿-拉夫逊算法,用于计算已知导纳矩阵、PQ节点、PV节点、平衡节点(UA)的电力网络潮流 % U...
    % 该Matlab程序基于牛顿-拉夫逊算法,用于计算已知导纳矩阵、PQ节点、PV节点、平衡节点(UA)的电力网络潮流 % U - 各节点母线电压 S - 各节点注入功率 S_net - 电力网络总损耗 % PQ_P - 实算PQ节点注入有功功率 PQ_Q - 实算PQ节点注入无功功率 % delt_PQ_P - 实算PQ节点有功功率修正值 delt_PQ_Q -实算PQ节点无功功率修正值 % delt_UA_P - 实平衡节点有功功率修正值 delt_U_2 - 实平衡节点电压平方修正值 % delt_PQV - 实算P Q U^2修正值 J - 雅可比矩阵 % e - 电压实部 f - 电压虚部 delt_ef - 电压实部与虚部修正值- The Matlab program based on the Newton- Raphson algorithm is used to calculate the admittance matrix is known, PQ node, PV node, the node balance (UA) the trend of the electricity networks U- the node bus voltage S- each node injection power S_net-- The total loss of electric power networks PQ_P- operator PQ is injected into active nodes PQ_Q- operator PQ is injected reactive power node delt_PQ_P- is considered the correct value of active power PQ node delt_PQ_Q- really count PQ node reactive power to amend the value of delt_UA_P- real active power balance of the correct value of the node delt_U_2- node voltage balance is the correct value of the square o
    2022-10-25 02:45:02下载
    积分:1
  • 迷宫游戏
      本程序是在VB.NET下编写的,由标签作成的墙体,由鼠标来触发,用鼠标不能碰到墙体则会返回到原点来达到走迷宫的效果,达到终点时会出现对话框提示完成。
    2022-07-05 07:44:12下载
    积分:1
  • [综合类]右击鼠标弹出菜单
    [综合类]右击鼠标弹出菜单-[Comprehensive] right-click pop-up menu
    2022-03-04 23:32:49下载
    积分:1
  • 用简单的语言来增强权威的行政长官与一个模块的源代码…
    用易语言做的CE源码带提升权限模块用易语言做的CE源码带提升权限模块-With easy language to enhance the authority of the CE source code with a module for easy language to enhance the authority of the CE source code with a module
    2023-06-16 09:05:03下载
    积分:1
  • 风之相随留言簿 V3.2正式发布, 呵呵!来段开场白。 这个版本似乎已经等待了好久了,不管是各位网友,还是我自己,看看上一个版本,还是08年12月8日的,...
    风之相随留言簿 V3.2正式发布, 呵呵!来段开场白。 这个版本似乎已经等待了好久了,不管是各位网友,还是我自己,看看上一个版本,还是08年12月8日的,已经整整一年没有怎么更新了。想想去年还在武汉,今年却身在西安,心境不同,自然状态也不同了。 一直说要更新,11月30日终于终于是腾出时间来一次小规模的改版,大的功能和框架没太大变化,只是应一些网友的需求,以及自上个版本发布一年来,征集的建议和意见做了相应的功能加强。 V3.2主要增加功能: 1、留言分审核和不审核 2、系统设置里面添加了审核项,以及关键字,网站描述,备案号,第三方统计代码等功能 3、页面做了SEO优化 管理账号: 用户名:sunfeng 密码:1983-Wind attendant Guestbook V3.2 released, Ha ha! To segment opening. This version seems to have been waiting for a long time, no matter what netizens, or myself, to see if the previous version, or December 8, 2008, and has been a full year without how updated. Think of last year while still in Wuhan, this year they are in Xi an, state of mind is different from the state of nature is also different. Has been saying that to be updated November 30 was finally time to finally release a small-scale revision, large functions and framework did not change much, but should the needs of several blogs, as well as release from the last year, collected suggestions
    2023-02-07 21:20:02下载
    积分:1
  • 这是本科铁道方向课程设计的一个简单的计算程序,用于计算实现轨道“统一公式”...
    这是本科铁道方向课程设计的一个简单的计算程序,用于计算实现轨道“统一公式”-Calculate the formation
    2023-07-25 09:05:02下载
    积分:1
  • 696518资源总数
  • 106161会员总数
  • 5今日下载