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

  • 1
    说明:  1到33的任意6个数字,他们之和加起来是61,或者改掉sum数字,让他们和为你想要的数字(1 to33Any 6 numbers, and they add up to 61, or get rid of sum numbers, and make them as the number you want )
    2012-05-02 13:08:48下载
    积分:1
  • seed-dvs6446
    说明:  合众达seed-dvs6446 用户指南,包括开发板的介绍和各个部分的功能介绍,PDF格式。(Triangle of seed-dvs6446 user guide, including the development board of the introduction and description of each part of the function, PDF format.)
    2011-03-17 08:56:00下载
    积分:1
  • example-2.29-1.0.0.tar
    LIBRARY ZIGBEE WIRELESS SENSORS
    2010-02-09 22:36:39下载
    积分:1
  • music
    music matlab程序,c语言实现的一个小星星的音乐(music matlab procedures, c language a little star music)
    2013-09-28 09:38:41下载
    积分:1
  • xsh_reverse
    shell命令其中一部分,可以实现把整数字符串反转的功能。(reverse the string of integers)
    2013-11-23 06:45:38下载
    积分:1
  • 74HC14
    开发板74HC14 开发板74HC14的说明(program board 74HC14)
    2012-01-04 09:46:17下载
    积分:1
  • liusdeng
    流水灯的基本控制流水灯的一次点亮,更好理解流水灯,是LPC2103芯片(Lights control of water flowing light a light, a better understanding of light water, the LPC2103 chip)
    2012-07-05 23:39:17下载
    积分:1
  • testMySocket
    监控示例,我们学校的课程设计的示例系统。希望能采纳!(this is a file foe deal to photos.my name is li wen xiang,today I want to download this source file.)
    2012-06-11 10:13:00下载
    积分:1
  • testprog
    一个简单好用的进度条例子程序 vc++开发 可以在此基础上增加自绘功能(An easy-to-use progress Ordinance the subroutine vc++ development to increase self-drawn on this basis)
    2012-08-07 16:25:25下载
    积分:1
  • hedongjian
    彩色位图转黑白位图代码。何东健《数字图像处理》随书光盘提供的源码。(color bitmap to black-and-white bitmap code. Dong- Jian "Digital Image Processing" With the CD source.)
    2006-11-02 10:13:04下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载