登录
首页 » Visual C++ » knapsackproblem

knapsackproblem

于 2010-03-09 发布 文件大小:41KB
0 281
下载积分: 1 下载次数: 4

代码说明:

   有不同重量的物品n件,求从这n件物品中任取一部分物品放入背包,使选中的物品的总重量不超过指定的限制重量,但选中物品的价值之合为最大。即任意给定物品个数及它们的重量和价值,在最大的限制重量一定的情况下,为了使价值最大,选出最优解。(There are different weights of items n pieces from n items in order to obtain any portion of the goods into the backpack, so that the total weight of the selected items does not exceed the specified weight limit, but the combined value of selected items as the greatest. That any given number of items and their weight and value limits the maximum weight of certain circumstances, in order to value the most, select the optimal solution.)

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

发表评论

0 个回复

  • CPP-(1)
    求用户从键盘输入的一个日期对应的是星期几(Seeking user input a date from the keyboard corresponding to the week)
    2011-07-17 10:33:00下载
    积分:1
  • CSocket-TCP
    说明:  基于CSocket的TCP多人聊天程序 平常自己练习用的!(CSocket of TCP-based chat program over usual practice their own use!)
    2010-04-05 09:24:58下载
    积分:1
  • PCYT
    这是一个云台控制的软件,我只是实现了上下左右,自动几个功能,为了测试用,不过可以调通。(This is a PTZ control software, I just realized vertical and horizontal, automatic several functions, in order to test, but can be transferred through.)
    2013-08-22 08:44:29下载
    积分:1
  • 7041831USBDriver
    仅用于tp900掌机的usb驱动。安装简单方便。-Only the usb driver for tp900 handheld. Easy to install.(Writing From the information carefully detailed features, including the content description (at least 20 words). Try not to let owners to spend time on your revised instructions. When extracting archive can not have a password.)
    2011-06-11 10:55:33下载
    积分:1
  • DBCViewNewV1.1
    DBCView对汽车电子行业的dbc文件进行解析,并进行拓扑图显示。DBCView清晰实现对dbc文件的解析,并以友好的界面展示CAN信号,Node,signal,MSG之间的关系的软件。对初入汽车电子行业的新人非常适合,能快速掌握dbc的结构。(dbc文件是vector公司定义的,用来描述单一CAN网络中各逻辑节点信息,依据该文件可以开发出来监视和分析CAN网络中所有逻辑节点的运行状态,也可以是有针对性的ECU通信应用软件。)(DBCView is a parser for dbc file and topology view to display. By the DBCView, user could quickly understand the links between node, message, signal and can bus. DBCView is support training tool for fresh person.(by the way, If you want to know dbc, you could get help from vector ))
    2018-01-28 15:51:01下载
    积分:1
  • clusterdemo
    得到硬盘中簇的大小 (Getting the clusters size of disk)
    2020-11-16 20:09:39下载
    积分:1
  • nano-gold
    这是纳米金颗粒的散射实例,在comsol环境下的仿真(nano-gold,comsol,mie scattering)
    2020-11-14 14:49:42下载
    积分:1
  • Five_QT_by_CT
    基于网络编程的五子棋程序,可实现多人多桌大厅功能。(five )
    2020-12-09 17:09:21下载
    积分:1
  • 000000000000001
    光立方【动画+频谱】!8*8*8光立方 的动画和频谱源程序!(Light Cube [animation+ spectrum]! 8* 8* 8 light cube animation and spectrum source!)
    2013-09-02 21:22:21下载
    积分:1
  • vcmodbus
    利用vc++ 实现MODBUS TCP 协议,描述了协议的实现过程并配有说明文档(VC++ modbus tcp protocol)
    2021-04-17 09:18:52下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载