搜索资源列表
sort1
- 这是一个排序算法,包括插入排序,递归排序,两种算法的运行时间不同(This is a sorting algorithm, including insertion sort, recursive sorting, and the running time of the two algorithms is different.)
gsbn69
- 排序算法可能用到的基本单元——SortItem对象()
3
- 根据题目可分析:假设主管道位于所有管道的东侧(或是西侧),则测得个油井到主管道之间的输油管道总长度为sum1,若主管道的位置位于所有管道纵坐标的中位值,其输油管道总长度为sum2。由此可推算出sum1>=sum2。因此我采用第二个思路,进而将问题转化为求n个数中第k大数是什么的问题。 总的输油管道长度可通过每个输油管道的纵坐标减中位值得到,最后即可解决问题。 根据题目要求,需在线性时间内确定主管道的最优位置。在排序算法中,最优的便是快速排序,而根据题目要求,我们又不需要将所有n
wachine
- Merge, Insertion, Radix, Heap, Bucket, Quick, Counting排序算法()
some sort and selection algorithms
- 三种排序算法和两种查找算法,可直接打开,编译运行。没有错误(some sort and selection algorithms)
算法课设
- 排序算法例程比较 Comparison of scheduling algorithms(Comparison of scheduling algorithms)
%5B啊哈!算法%5D.啊哈磊.扫描版
- 啊哈算法的pdf版,特别形象的算法书籍,其中的快速排序,桶排序简单明了(pdf version of aha algorithm)
QKP2
- 使用DE算法求解二次背包问题,采用了动态排序的方法(DE algorithm is used to solve the two knapsack problem. Dynamic sorting method is adopted.)
QKP1
- 基于DE算法利用静态排序算法求解二次背包问题(DE algorithm based on static sorting algorithm to solve two knapsack problem.)
SimpleTestPaiXu
- 快速排序算法,选取一个中间值,小于中间值放左边,大于中间值的放右边(quick_sort:Select an intermediate value, less than the middle value to the left, greater than the median value to the right)
yasuo
- 用快速排序,归并排序,基数排序,计数排序实现对整形数据和字符串的排序(Sort the data and string by quick sort, merge sort, base sort and counting sort.)
sort
- 对快速排序进行优化,对测试数据的前1000个进行排序,并比较优化前和优化后的时间性能差异;实现至少两种线性时间排序算法。(Optimize the quick sorting, sort the first 1000 of the test data, and compare the time performance difference before and after optimization; implement at least two linear time sorting algor
quiksort
- 从一个数据文件中读入N个整数(N<=100000),且把结果保存到另一个文本文件中,并显示排序所用的时间。(Read a N integer from a data file (N<=100000) and save the result to another text file, and display the time used for sorting.)
堆排序
- 利用visualstdio基于c++的一个堆排序的算法(A heap sort algorithm based on c++ in visualstdio)
动态规划算法举例
- 动态规划问世以来,在经济管理、生产调度、工程技术和最优控制等方面得到了广泛的应用。例如最短路线、库存管理、资源分配、设备更新、排序、装载等问题,用动态规划方法比用其它方法求解更为方便。(Since the advent of dynamic programming, it has been widely used in economic management, production scheduling, engineering technology and optimal control. F
归并排序
- 归并排序,C++实现,分治算法的经典排序。。。
快速排序Python
- 快速排序算法的Python实现,最下方是例子,直接运行即可看到原始数组和排序后数组
Visual+Basic+常用数值算法集
- 常用vb数值计算过程近200个,包括:解线代方程组、插值、数值积分、特殊函数、函数逼近、随机数、排序等等,每个子过程都包括功能、方法、使用说明、过程和例子(There are nearly 200 commonly used VB numerical calculation processes, including solving linear equations, interpolation, numerical integration, special functions, function
基于哈工大pyltp分词的文章排序python程序
- 哈工大pyltp分词程序,并实现简单的文章排序功能,此为医疗问答系统项目的一个关键程序,希望能有所帮助。
冒泡排序
- 基于c++的冒泡排序算法源码,代码中含排序时间的计时器