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

  • pagewnd
    VC++调用Excel表格编辑数据的功能,一打开就显示Excel风格的表格(VC++ calling function Excel spreadsheet editing data, an open style on display Excel spreadsheet)
    2013-12-01 21:50:40下载
    积分:1
  • MultiBoost+是c%2B%2B实现的多类adaboost算法.tar
    This program is the realization of Adaboost selection algorithm in C++. Examples have been included in the zip file updated.
    2018-09-21 13:26:43下载
    积分:1
  • ScreemProtection
    屏幕保护程序。 在学习VC时开发的 ,对VC初学者有一定的借鉴意义。(Screen saver. In learning when the development of VC, VC beginners to have a certain referential significance.)
    2008-01-09 21:33:17下载
    积分:1
  • AEC
    语音AEC的demo程序和库源代码,在win7下验证可行。(audio aec demo in windows7.)
    2020-07-16 22:58:49下载
    积分:1
  • 456
    1990年—adaptive multi-band CFAR detection of an optical pattern with unknown spectral distribution.pdf
    2013-01-13 20:06:47下载
    积分:1
  • jiaotongzixun
    数据结构的课程设计,做的是一个交通查询,主要用到图的算法,和大家共享,欢迎指正!(Data structure curriculum design, do a query traffic, mainly used graph algorithms, and share, please correct me!)
    2013-10-28 18:49:11下载
    积分:1
  • ShadeDialog
    窗体渐隐动画效果,实现MFC窗体的特效。(windows danru danchu)
    2014-08-02 20:20:56下载
    积分:1
  • 温度传感器设计指南
    嵌入式资料温度传感器设计指南全部知识点都在这里(Guidelines for temperature sensor design)
    2020-06-17 04:40:01下载
    积分:1
  • TheAlgorithmDesignManual
    关于算法设计与算法分析非常好的一本参考读物,适合于从事算法分析的人士。(Algorithm design and analysis of algorithms on a very good one for reference books, suitable for those who engaged in analysis of algorithms.)
    2009-09-27 11:54:45下载
    积分:1
  • Bits-Tool-source
    用VC写的2进制输出工具,用鼠标点选check控件时,edit控件会同步显示对应的数值,这份代码最重要的特色时控件颜色的显示。(Using VC to write two hexadecimal output tool, use the mouse to click the check controls, the edit control will display synchronous corresponding numerical, when this code is the most important characteristics of control color display. )
    2014-09-12 23:24:33下载
    积分:1
  • 696518资源总数
  • 105958会员总数
  • 18今日下载