文件名称:LimitBin

  • 所属分类:
  • 数据结构常用算法
  • 资源属性:
  • [C/C++] [源码]
  • 上传时间:
  • 2012-11-26
  • 文件大小:
  • 1kb
  • 下载次数:
  • 0次
  • 提 供 者:
  • 严*
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

装箱问题:在装箱问题中,有若干个容量为c 的箱子和n 个待装载入箱子中的物品。物品i 需占

用s[i]个单元(0< s[i]≤c)。成功装载是指能把所有物品都装入箱子。最优装载是指使用最

少箱子的成功装载。

例如某运输公司要把包裹装入卡车中,每个包裹都有一定的重量,且每辆卡车也有其载

重限制(假设每辆卡车的载重都一样)。在卡车装载问题中,希望用最少的卡车来装载包裹。

此问题可看作装箱问题。卡车对应于箱子,包裹对应于物品。

解装箱问题的Best Fit 算法:

设avail[i]为箱子i 的可用容量。

初始时,所有箱子的可用容量为c 。

选择物品i放入具有最小avail且容量大于s[i]的箱子中。-packing problem : packing problems, there are a number of the capacity of the c-and n boxes to be loaded into the boxes of goods. I goods occupied s [i] units (0lt; S [i] c). Success is able to carry all of the items are put into boxes. The optimal loading refers to the use of the boxes at least the successful loading. For example, should a transportation company trucks loaded packages, each package has a certain weight, and each has its truck load restrictions (on the assumption that each truck load are the same). The truck loaded question, in the hope that at least a truck loaded parcels. This issue can be seen as packing problems. Truck corresponding to the boxes, parcels corresponding to the items. Xie crates of Best Fit is : Let avail [i] i boxes available capacity. Initially, all th
(系统自动生成,下载前可以参看下载内容)

下载文件列表

030300506bin.cpp

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org