-
greedy
集装箱的装箱问题:
*给定一个集装箱,其长为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-)
- 2007-10-14 22:08:37下载
- 积分:1
-
网络编程(客户端和服务器端)
网络编程的代码,简单易懂,适合初学Linux系统的新手下载学习,使用了管道和socket来编程,如果有什么不足之处,请大家多多指教
- 2022-01-28 08:05:27下载
- 积分:1
-
evaporation-of-sodium---973K
fluent中蒸发冷凝的udf源码,基于Lee模型,可用于相变模拟。(fluent evaporated condensed udf source, based on Lee model can be used to simulate the phase change.)
- 2016-03-05 17:57:23下载
- 积分:1
-
Avateering-XNA
自然人机交互的示例源代码,虚拟一个3D人,受显示中人的控制(Natural machine interaction sample source code, a 3D virtual person, by the display control of the human)
- 2013-11-02 16:25:46下载
- 积分:1
-
CDVine_1.1-11.tar
Vine copula for C vine和 D vine的估计等。(Vine copula for C vine and D vine.)
- 2014-11-24 20:12:14下载
- 积分:1
-
ecan_back2back
TMS320F281x Ecan 开发例程(Development of routines TMS320F281x Ecan)
- 2008-04-15 23:32:15下载
- 积分:1
-
Vg101_lecture_of_UM
matlab 编程基础 C语言入门和C++基础 源自
美国密西根大学(Matlab Programming Fundamentals C language entry and C++ basis from the University of Michigan)
- 2012-05-24 19:10:13下载
- 积分:1
-
Lx
说明: 风特性基本分析,基于泰勒函数简算湍流积分尺度(Simple calculation of the integral scale of turbulence)
- 2018-06-29 17:46:01下载
- 积分:1
-
Example_2833xCpuTimer
28335的定时发送can数据程序,已经通过调试,能够成功发送数据(28335 can send data timing procedures, has been through commissioning, to successfully transmit data)
- 2020-07-01 06:20:02下载
- 积分:1
-
processDispatch
进程调度模拟程序:假设有10个进程需要在CPU上执行,分别用:
1.先进先出调度算法;
2.基于优先数的调度算法;
3.最短执行时间调度算法
确定这10个进程在CPU上的执行过程。要求每次进程调度时在屏幕上显示:
1.当前执行进程;
2.就绪队列;
3.等待队列
附:此程序可直接运行,是操作系统课的经典实验.
(scheduling process simulation program : Suppose a 10 CPU in the process of implementation, respectively :)
- 2021-05-07 04:28:36下载
- 积分:1