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

  • vit
    vit程序清晰简单,容易阅读,matlab调用易实现(vit procedures clear and straightforward, easy to read, matlab call easy to realize)
    2011-05-03 14:19:19下载
    积分:1
  • __Least_Squares_Support
    第5个:matlab 和C++联合用于SVM,另外一种风格的(the 5 file: matlab and c++ together for SVM)
    2011-12-28 09:52:35下载
    积分:1
  • The-PC-mouse-code
    对想了解pc控制鼠标指针的源码的人有帮助,包括windows调用了那些函数,用了那些库文件等。(Would like to know the source pc control the mouse pointer to help people, including those functions called windows, with those library files.)
    2013-12-08 12:15:20下载
    积分:1
  • Gaussian-blur-with-CUDA-5
    cuda5 and matlab code for Gaussian filtering and parallel image processing code, we hope to help
    2013-10-01 10:52:33下载
    积分:1
  • 可视化的排序教学演示程序
    可视化的排序教学演示程序/VS2015/Qt5编写(VisualSorting_Qt_VS2015)
    2020-06-26 18:40:01下载
    积分:1
  • SIRC
    To decode SIRC data when someone want to build some device remote control.
    2014-08-20 23:49:03下载
    积分:1
  • Cognitive-Radar-Theory-
    雷达系统的理论和设计一直占主导地位 概率论与统计,信息理论,信号处理和控制 然而,类似的编码译码的属性之间存在的视觉 BIAM和雷达已经黯然忽视的m所有雷达系统(For over six decades, the theory and design of radar systems have been dominated by probability theory and statistics, information theory, signal processing and control However, the similar encoding-decoding property that exists between the visual biam and radar has been sadly overlooked m all radar systems)
    2013-09-09 20:22:52下载
    积分:1
  • Grid
    基于OpenCV实现的图像切割程序,通过程序中参数设置分块的数量和大小(The project is uesd to break an image into block)
    2013-12-01 22:31:29下载
    积分:1
  • Xray1
    实现射线源控制,包括电压,电流,大小焦点。还有图片按钮。(Achieve-ray source control, including voltage, current, the size of the focus. There are picture buttons.)
    2021-05-12 17:30:03下载
    积分:1
  • CArray
    CArray类的应用CArray.rar,很不错的vc源码,希望能对大家有所帮助(CArray class applications CArray.rar, very good vc source code, I hope you can help)
    2011-09-11 21:36:16下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载