(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 129
下载积分: 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 个回复

  • 11
    NUAA微机实验课设:1.密码确认。2.数据采集控制系统。3.数码管显示(NUAA Computer Lab located: a password confirmation. 2 Data acquisition and control system. 3 digital display)
    2014-01-16 23:02:47下载
    积分:1
  • chap3
    用socket编程实现点对点通信,TCP客户端程序,TCP服务器程序,以及UDP点对点聊天通信。(Point to point communication, TCP client, TCP server, and UDP peer chat communication socket programming.)
    2020-07-04 14:20:01下载
    积分:1
  • GA
    说明:  遗传算法讲义!对于初学智能优化算法的人会有很大帮助!(GA handouts! Intelligent Optimization Algorithm for the beginner who will be a great help!)
    2010-12-08 16:44:57下载
    积分:1
  • Debug
    vc++ mfc界面下制作四连杆曲柄机构仿真对话本(vc++ four-bar linkage crank mechanism simulation produced the following dialogue mfc interface)
    2014-04-25 12:37:16下载
    积分:1
  • DicomDisplay
    vtkImageViewer2实现的放大,缩小,window color/window level调整(vtkImageViewer2 achieve zoom in, zoom, window color/window level adjustment)
    2013-07-13 13:02:54下载
    积分:1
  • QQ_protocol
    说明:  QQ协议(QQ agreement)
    2020-09-15 20:27:55下载
    积分:1
  • 点过咯这
    说明:  dian guo lo zhe,cao,hello word
    2019-05-09 20:25:10下载
    积分:1
  • shangpinguanli
    说明:  商品采购管理源程序和Datebace 关键字:C++, SQL server, ado(Commodity procurement management source and Datebace Keywords: C++, SQL server, ado)
    2010-03-18 19:59:35下载
    积分:1
  • Main_SVC_C
    说明:  svm工具箱,应用于matlab平台,给出了C_SVC二类分类算法的历程(svm toolbox, used matlab platform, given C_SVC the course of second-class Classification Algorithm)
    2010-03-26 09:06:21下载
    积分:1
  • 魔兽工具 WarH_2.10
    魔兽工具 显血 改键 中文名 地图全开(1.20e) 源码(Warcraft Tools significant change in blood key map full(1.20e) Chinese name source)
    2020-06-26 00:40:02下载
    积分:1
  • 696518资源总数
  • 106208会员总数
  • 21今日下载