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

  • Client
    远程控制客户通过象服务器端发出请求,服务器接受请求,从而实现对服务器的控制。(Remote Control client through the server-side as a request, the server accepted the request to the server in order to achieve control.)
    2008-04-24 10:10:11下载
    积分:1
  • Obookofcaajn
    关于常规脉冲多普勒地地面雷达的杂波建模与仿真 (Conventional pulsed wave Doppler to the ground radar clutter modeling and simulation)
    2012-07-19 17:35:38下载
    积分:1
  • gh0st-3.6sada
    免杀版ghost3.6 带服务器管理 很容易免杀的 换换资源完爆360全套(dwalfnselgreg fdseres )
    2014-09-25 21:22:55下载
    积分:1
  • PQ
    说明:  应用于并网的分布式发电或微网系统 PQ控制要求电站的有功和无功是可控的(The distributed power generation or microgrid system PQ control applied to the grid requires that the active and reactive power of the plant is controllable)
    2017-09-20 19:18:08下载
    积分:1
  • date
    一个对日期编写的函数。 在VC6.0下实现。(Date of preparation of a function. Achieved in VC6.0.)
    2009-01-03 22:55:49下载
    积分:1
  • 2.2
    噪声信号中正弦信号的现代法频谱分析,在不同周期不同长度和不同信噪比下的结果(Sinusoidal signal in noise spectrum analysis of modern law, in different periods of different lengths and different signal to noise ratio results)
    2011-11-23 10:24:21下载
    积分:1
  • Pascal语法配对检测
    对给定一个Pascal源文件 联合开发网 - pudn.com
    2017-10-21 20:32:02下载
    积分:1
  • CMP4
    处理文件器,可以办各种格式文件处理相互装换,有用!超级快速!(Processing document control, you can do a variety of formats for document processing equipment with each other, useful! Super fast!)
    2011-05-09 10:20:02下载
    积分:1
  • battlecity
    经典坦克大战源代码,battlecity ( Classic wars source code)
    2020-07-01 11:40:01下载
    积分:1
  • MUSIC
    这是用atmega16芯片的一个音乐程序,非常不错(This is ATmega16 chip with a music program, very good)
    2009-03-06 16:30:49下载
    积分:1
  • 696518资源总数
  • 106245会员总数
  • 18今日下载