资源列表
零件切割问题
- 给定一块宽度为W的矩形板,矩形板的高度不受限制。现需要从板上分别切割出n个高度为hi,宽度为wi的矩形零件。切割的规则是零件的高度方向与矩形板的高度方向保持一致。要求求出一种切割法使得所使用的矩形板的高度h最小.用递归及分治法解此问题-given a width of the rectangular plate W, the height of rectangular plate unrestricted. Board is required from the respective cut ou
PolyFitSingle
- //=== === === === === === === = //函数说明 //函数名称:PolyFit //函数功能:最小二乘法曲线拟合 //使用方法:double *x ---- 存放n个数据点的X坐标 // double *y ---- 存放n个数据点的Y坐标 // int n -------- 给定数据点个数 // double *a ---- 返回m-1次拟合多项式的m个系数 // int m -------- 拟合多项式的项数,即拟合多项式的
yuanma
- 创建一个类animal,并初始化,类animal派生出类cat,和类tiger,输出相关信息-Create a class animal, and initialized type animal derived category of cat, and the type of tiger, the output-related information
LR
- 对气象数据进行时间方面的线性回归分析,分析气象数据时常用-THIS IS A PROGRAM OF LINEAR REGRESSION BETWEEN X AND T(TIME OR YEAR)
Huffman
- Huffman编码生成程序 Huffman编码生成程序.rar-Huffman coding process to generate
code2
- 22. 切木头 成绩: 10 / 折扣: 0.9 背景 人们需要把一跟很长的木头切成几段,有一家名为 Analog Cutting Machinery (ACM) 的公司正在经营这一业务。他们根据切割前木头的长度来收费,木头越长、收费越高,并且每切割一次就收一次费。 显而易见,在这里切割木头时,不同的切割顺序就会产生不同的价钱。譬如一跟 10 米长的木头,需要在 2、4、7 米处切开。如果顺序在这三个位置切割,需要的费用是 10 8 6 = 24,因为木头原始长度为 10
060405113519
- 用set容器进行排序的示例函数,可以实现快速的正向,逆向排序,根据类的元素来作为排序依据。-Use the example set containers to sort function, can achieve rapid positive, reverse order, according to the type of element to order as the basis.
ZOJ2112A
- ACM算法,ZOJ2112(树状数组+*树)-ACM algorithm, ZOJ2112 (tree array+ Chairman tree)
double-linked-list
- 初始化双链表H; 依次采用尾插法插入a,b,c,d,e元素; 输出双链表H; 输出双链表H长度; 判断双链表H是否为空; 输出双链表H的第三个元素; 输出元素’a’的位置; 在第四元素位置上插入’f’元素; 输出双链表H; 删除双链表H的第三个元素; 输出双链表H; -Initialize the double linked list H Turn the tail interpolation into the A, B, C, D, e eleme
Desktop
- 单通道语音增强算法,利用logmmse来滤出噪声-speech enhancement by logmmse.we proved the speech SNR firstly
filter
- 基于肌电信号的滤波器综合设计,根据低通滤波器,高通滤波器,带阻滤波器的常用指标完成50HZ工频干扰和高、低频噪声干扰的滤波。-Based the EMGs filter design based on the low-pass filter, high pass filter, band stop filter used indicators completed 50HZ working frequency interference and the high and low frequency
ACO1
- 蚁群算法,对无人机路径进行有效规划,避免无人机相撞事故-Colony algorithm, effective UAV path planning to avoid drone crash
