文件名称:lab2
-
所属分类:
- 标签属性:
- 上传时间:2014-12-21
-
文件大小:756byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
0-1背包问题:若有物品n个,每个物品的价值Value,用vi表示,每个物品的重量weight用wi表示,其中vi和wi均为非负数。设背包的总容量为W,且W为非负数。本程序可选择装入背包的物品,并使装入背包的物品总价值最大。-Value, with vi, said the weight of each item s weight by wi, where vi and wi are non-negative. The total capacity of the backpack set W, and W is non-negative. This program can choose the items into the backpack, and the total value of goods loaded backpack maximum.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
lab2.cpp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.