搜索资源列表
greedy
- (1).问题描述:集装箱的装箱问题 给定一个集装箱,其长为L,宽为W和高为H,现有一批圆柱形木材,每根木材的长均为L,但是半径不同,设第i根木材半径为ri。问如何装箱,使得集装箱的空间利用率最高? (2).程序设计要求: a. 设计一个贪心算法 b. 任给一个输入实例,能输出集装箱的空间利用率 c. 能用图形演示装箱的过程 演示: 输入要测试的文件名,如c17.txt,程序将给出结果
RBTree
- 数据结构中红黑树的C语言实现,包括红黑的各种基本操作,有左旋、右旋、插入等。-Red and black tree data structure in the C language, including red, black and a variety of basic operations, there are L, D, insert, etc..
Exercise2
- 系统级编程课程中的内存围栏,意在改写自己的malloc和free函数,增强程序处理的容错性,健壮性-System-level programming courses of memory fences, intended to rewrite their own malloc and free function, and enhance procedures to handle the fault tolerance, robustnes
plot
- 外挂的Dll库尝试,可以打印空心汉字,单线体正在开发中-Dll library of plug-ins to try, you can print hollow Chinese characters, in-line precursors are being developed
CJ60Lib
- MFC扩展界面库,包含CJ60Lib头文件,lib文件和示例代码-MFC extension of the interface library, CJ60Lib header file contains, lib files and sample code
MPEG-4_encoder
- MPEG-4的编码技术源码,请参考文件内的说明-MPEG-4 encoding technology source, please refer to the document descr iption
CTracker_v2.2_SourceCode
- 多种跟踪算法的实现,包括mean-shift等,很好用-Realize a variety of tracking algorithms, including mean-shift and so on, very good use
ffmpeg_c
- ffmpeg源码的vc环境下成功编译源码.-vc source ffmpeg successfully compile source environment.
zuobiaozhuanhuan
- 本程序提供WGS-84、BJ54和Xi’an80下大地坐标、空间直角坐标以及高斯坐标的相互转换,不同椭球参数下的转换需通过空间直角坐标过渡,由于时间原因,高斯坐标正反算只在BJ54下进行。空间坐标的转换需要借助七参数,可手工输入,也可由文本文件中至少公共点平差计算得到(data.txt可用于七参数计算测试)。 计算过程: WGS-84 B=30.303622 L=114.212196 H =47.36 (经纬度采用度
sipSoftPhone
- 基于exosip协议栈的软电话的注册,呼叫等功能实现
Jpegdecoder
- void III_hufman_decode(struct Granule *gr,int part2_start, int freqline[SBLIMIT][SSLIMIT]) { unsigned int reg1, reg2,i unsigned int part3_length = part2_start + gr->part2_3_length unsigned used
DSOFramer_Open_V2.0
- 办公自动化控件DSOfr a mer_Open_V2.0,经本人修改,内有使用说明-Office automation controls DSOfr a mer_Open_V2.0, After I modified, with the use of
Munsell_src
- 一个很牛的D3d程序!!能够旋转放大3D图形-A very cattle D3D program! ! 3D graphics can rotate to enlarge
huffman
- 实现最优二叉树的构造;在此基础上完成哈夫曼编码器与译码器。 假设报文中只会出现如下表所示的字符: 字符 A B C D E F G H I J K L M N 频度 186 64 13 22 32 103 21 15 47 57 1 5 32 20 57 字符 O P Q R S T U V W X Y Z , . 频度 63 15 1 48 51 80 23 8 18 1 16 1 6 2
3_02
- 基于L-system的分形树代码,双击窗体生成随机分形树 -Based on the L-system fractal tree code, double-click the form to generate random fractal tree
tanxinsuanfadeyinyong
- 给定一个集装箱,其长为L,宽为W和高为H,现有一批圆柱形木材,每根木材的长均为L,但是半径不同,设第i根木材半径为ri。问如何装箱,使得集装箱的空间利用率最高?-Given a container, and its length L, width W and height H, the current batch of cylindrical timber, each timber are of a long L, but the ra
lr0forwin
- LR(0)语法分析器,可识别读入源文件是否是L语言,并输出识别过程。-LR (0) parser can be read into the source document to identify whether the language L, and output the recognition process.
text
- 一种纯文本文件自动分类算法的实现,有学习过程和分类过程。-A plain text file automatic classification algorithm, a learning process and classification process.
operating_system_scheduling
- 对于给定的一组进程,采用优先级加时间片轮转法进行调度。设有一个就绪队列,就绪进程按优先数(优先数范围0-100)由小到大排列(优先数越小,级别越高)。当某一进程运行完一个时间片后,其优先级应下调(如优先数加3),试对如下给定的一组进程给出其调度顺序。每当结束一进程时要给出当前系统的状态(即显示就绪队列)。这里,进程可用进程控制块(PCB)表示为如右表所示。 进程名 A B C D E F G H J K L M 到达时间