文件名称:0-1bag
-
所属分类:
- 标签属性:
- 上传时间:2014-01-10
-
文件大小:221.29kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
假设有n件物品,每件物品有各自的重量W1,W2,……,Wn和
与之对应的价值V1,V2,……,Vn。设背包的容量为c,在不超过背包容量的前提下,求出获得最大价值总和的方案。(0-1背包的情况下物品不可分割,只能选择放入,或者不放入背包中)。
-Suppose there are n items, each item has its own weight W1, W2, ......, Wn and the corresponding value of V1, V2, ......, Vn. Let knapsack capacity is c, under the premise of not exceeding the capacity of the backpack, find solutions to maximize the total value. (0-1 backpack case of indivisible goods, can only choose placed or not placed in a backpack).
与之对应的价值V1,V2,……,Vn。设背包的容量为c,在不超过背包容量的前提下,求出获得最大价值总和的方案。(0-1背包的情况下物品不可分割,只能选择放入,或者不放入背包中)。
-Suppose there are n items, each item has its own weight W1, W2, ......, Wn and the corresponding value of V1, V2, ......, Vn. Let knapsack capacity is c, under the premise of not exceeding the capacity of the backpack, find solutions to maximize the total value. (0-1 backpack case of indivisible goods, can only choose placed or not placed in a backpack).
(系统自动生成,下载前可以参看下载内容)
下载文件列表
0-1背包实验报告.docx
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.