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

  • BSM
    一个很经典的问题_八数码! 算法速度快,解决问题多...有兴趣的可以(A very classic problem _ eight digital! Fast algorithm to solve the problem ... are interested in more than can be)
    2008-05-04 13:42:30下载
    积分:1
  • bmp-class
    文件中包括了一个位图类,类中设计了一些对BMP文件数据提取很有用的函数,可通过该类延伸设计对BMP文件的各种处理。(Document includes a bitmap category, class, designed a number of BMP files data extraction very useful function, through the extension of the design of such a variety of BMP file processing.)
    2013-11-02 17:39:19下载
    积分:1
  • pipei
    改程序就代码可以找出从不同角度或区间的两幅遥感影像的同名点(Change the program code can find it from different angles of the same name point or interval of two remote sensing images)
    2014-05-17 15:48:13下载
    积分:1
  • c_matlab
    一个关于MATLAB与c混合编程的资料,适合与混合编程的初学者(1 c mixed on MATLAB programming and data, suitable for beginners and mixed programming)
    2009-11-21 16:35:52下载
    积分:1
  • temperature-detection-system
    六路炉温检测系统,含有技术报告,原理图、pcb,系统源程序,上位机源程序。(Her temperature detection system, contain a technical report, schematic and PCB, system source code, source program of the host computer is designed.)
    2015-01-31 17:47:44下载
    积分:1
  • 61282540usb-can(vc6)
    usb编程资料 很少见的资料 快看看吧(usb编程资料 很少见的资料 快看看吧)
    2010-10-20 12:19:23下载
    积分:1
  • pay
    毕业设计论文(含运行说明书,源代码)工资管理系统(SQL+VC++)是Visual C++数据库(SQL Server 2000)信息管理系统,来自明日科技《Visual C++数据库系统开发案例精》一书,案例包括运行说明书,源代码和参考的《毕业设计论文范例》。(Thesis graduation project (including operation manuals, source code) wage management system (SQL+ VC++) Is a Visual C++ Database (SQL Server 2000) Information Management System, from tomorrow technology Visual C++ Database system the development of the case the elite in a book, case, including operation manuals, source code and reference the graduation thesis design paradigm. )
    2008-06-17 12:10:17下载
    积分:1
  • databaseViewerForAutocad2006
    一个用来显示Autocad内部数据结构的极佳工具. Autocad2006二次开发人员必备!(used to indicate an internal data structure Autocad an excellent tool. Autocad2006 Secondary Development staff required!)
    2007-05-06 22:53:44下载
    积分:1
  • matlab
    MATLAB中文使用手册,能对MATLAB有个基本的了解,简约。(MATLAB Chinese user manual, can have a basic understanding of MATLAB, simple.)
    2010-09-29 11:23:15下载
    积分:1
  • Sort
    一个排序程序,包括直接插入排序,起泡排序,堆排序,二路归并排序,锦标赛排序,计数排序等。(A sort of procedures, including the direct insertion sort, bubble sort, heap sort, two way merge sort, championship sort, counting sort, etc..)
    2015-10-19 15:32:09下载
    积分:1
  • 696516资源总数
  • 106446会员总数
  • 9今日下载