(Containerpackingproblem:givenacontainer,anditslengthL,widthWandheightH,thecurrentbatchofcylindricaltimber,eachtimber*longareL,buttheradiusisdifferentforthefirsti-kantimberradiusri.Askedhowthepacking,makingmebeassembledin*themaximumutilizationofspace?Usegreedyalgorithmtosolve.*CompilerMethods:Opencppfile,compiledatthesametimeintheestablishmentoftheproject,openthesettings-) - IMDN开发者社群-imdn.cn">
登录
首页 » Visual C++ » greedy

greedy

于 2007-10-14 发布 文件大小:62KB
0 156
下载积分: 1 下载次数: 17

代码说明:

  集装箱的装箱问题: *给定一个集装箱,其长为L,宽为W和高为H,现有一批圆柱形木材,每根木材 *的长均为L,但是半径不同,设第i根木材半径为ri。问如何装箱,使得集装 *箱的空间利用率最高?使用贪心算法解决。 *编译方法:打开cpp文件,在编译的同时建立工程,打开 "settings->link" *在link项的Object/library modules:中加入Opengl32.lib glu32.lib glaux.lib(Container packing problem: given a container, and its length L, width W and height H, the current batch of cylindrical timber, each timber* long are L, but the radius is different for the first i-kan timber radius ri. Asked how the packing, making me be assembled in* the maximum utilization of space? Use greedy algorithm to solve.* Compiler Methods: Open cpp file, compiled at the same time in the establishment of the project, open the settings-)

文件列表:

c25.txt
c30.txt
greedy.cpp
greedy.exe
注意事项.txt

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

发表评论

0 个回复

  • ToolWarehouseSystem
    说明:  TWS主要分为两个部分,第一部分是员工与工具信息管理系统(Employ and Tool Management System, ETMS),详细记录工具的借、还与工具状态,公司内部 员工可以通过本地企业局域网(Intranet)查询自己工具的借还情况,并发出对贵 重工具的请求。对于本地没有的特殊工具,员工可以使用ETMS 通过互联网 (Internet)在总公司或各个子公司的仓库中查找特定工具,并发出借用该工具的 请求。 第二部分是一个仓库的实时管理系统(Warehouse Management System , WMS),位于总公司和每个子公司的工具仓库,在提取具体工具时,用户需要到 具体的工具仓库进行工具的提取(也可以在工具仓库现场借工具)(Tool Warehouse System)
    2021-03-18 16:09:20下载
    积分:1
  • glib
    说明:  glib 帮助说明文档,请大家下载, 谢谢(glib help documentation, please download, thank you)
    2011-03-09 10:06:34下载
    积分:1
  • 05640848
    关于雷电系统设计的资料,对设计雷电定位系统有参考价值(About lightning system design information on the design of lightning location system have reference value)
    2013-10-27 20:59:07下载
    积分:1
  • main
    通过改进的遗传算法来求解复杂的非线性方程组(Through the improved genetic algorithm to solve complex nonlinear equations)
    2013-09-27 21:03:22下载
    积分:1
  • StaticImage
    vc——使用静态文本控件显示图标和位图StaticImage(vc- Use static text control to display icons and bitmaps StaticImage)
    2011-07-24 20:29:18下载
    积分:1
  • Intelligent-Building-automatic-alarm
    智能大厦管理系统的一个分支—智能大厦自动报警,本程序使用Access数据库(A branch of the Intelligent Building, Intelligent Building management system automatic alarm, the program uses Access )
    2014-12-09 12:17:52下载
    积分:1
  • 1
    说明:  实现重力式热管换热器设计计算功能,简单按照设计任务书,给出所需热管的结构尺寸,涉及的热管蒸发段和冷凝段长度分别为1m,绝热段长度30cm,内径20cm,外径25cm,热管工质为水。(Realize the gravity heat pipe heat exchanger design and calculation functions , simple design in accordance with the mission statement , given the size of the required structure of the heat pipe , heat pipe evaporator and condenser section lengths were involved 1m, adiabatic length 30cm, inner diameter 20cm, 25cm outside diameter heat pipe working fluid is water. )
    2015-03-01 18:45:20下载
    积分:1
  • plotter
    图像看图处理 qt 初学者的好例子 可以很快上手 欢迎使用 多谢留言指点 (Image Viewers qt deal a good example of a beginner can quickly start pointing Welcome Message I would like to thank)
    2008-02-26 18:43:53下载
    积分:1
  • oead
    说明:  Source code 按i2c时序读写寄存器(Source code read and write registers according to i2c sequence)
    2018-12-26 09:48:34下载
    积分:1
  • PCSCReader
    底层调用了PCSC的通信库Winscard,可用于PC上读卡器与智能卡的通信(It calls the underlying communication library Winscard PC can be used on a PC to communicate with the smart card reader)
    2021-05-14 15:30:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载