搜索资源列表
数组排序算法改进版
- 这个程序的头文件中包含四种排序方法:泡沫排序法(bubble),插入排序法(insertion),快速排序法(quick)和选择排序法(selection)。头文件中还使用了模板技术,以便可以同时实现几种类型的排序算法。 dinimicky_hu对原程序做了修改和优化,使用了函数指针数组,并修改了一个BUG-The head file of this programme includes 4 methods of sorting : Bublle sorting,insertion sortin
排序算法汇总和比较
- 实现了插入排序,希尔排序, 冒泡排序,快速排序,选择排序,堆排序和归并排序,以及可以对排序的性能进行分析,较适合用作排序算法的学习-achieved insertion sort, Hill, in order Bubble Sort, quick sort, select, in order of ranking and sculpture merge sorting, and sequencing can analyze the performance and more appropriat
排序算法-java
- 用java实现的数据结构排序算法,包括:选择排序、插入排序、冒泡排序、希尔排序、快速排序、堆排序、归并排序。-used to achieve the ranking algorithm data structure, including : Select, in order of insertion sequence and Bubble Sort, Hill sequencing, rapid sequencing, heap sort, merging sequencing.
递归算法快速排序
- 分而治之方法还可以用于实现另一种完全不同的排序方法,这种排序法称为快速排序(quick sort)。在这种方法中, n 个元素被分成三段(组):左段l e f t,右段r i g h t和中段m i d d l e。中段仅包含一个元素。左段中各元素都小于等于中段元素,右段中各元素都大于等于中段元素。因此l e f t和r i g h t中的元素可以独立排序,并且不必对l e f t和r i g h t的排序结果进行合并。m i d d l e中的元素被称为支点( p i v o t )。图1 4
常见排序算法实现
- 常见的排序算法,如插入排序,快速排序-common algorithm, such as the insertion sort, rapid sequencing etc.
快速排序法
- 这个是快速排序法的算法实现-This is a rapid method of sorting algorithm
实现各种排序算法并分析与比较
- 本程序实现各种排序算法并分析与比较 直接插入排序, SHELL排序,冒泡排序,快速排序,简单选择排序,堆排序,归并排序-procedures for the realization of the algorithm and analysis more directly inserted, in order of ranking SHELL, Bubble Sort, rapid sequencing, simple choice, in order of ranking sculpture, m
各种排序算法
- 各种常用的排序算法源程序,包括快速排序/归并排序/带限期的排序以及贪心法的实现程序-various commonly used algorithm source, including rapid sequencing / merge sorting / ranking with the deadline and the greedy method to achieve procedures
sorting
- 快速排序算法,融合了选择排序和堆排序算法,使时间复杂度降为nlogn-Quick sort algorithm, the convergence of choices to sort and heap sort algorithm, so the time complexity is reduced nlogn
quick_sort
- 本程序是快速排序算法,能快速的排序,-quick sort program
KITBAG
- 背包问题是用贪心算法得到最优解得一个典型问题。背包问题具有最优子结构性质首先通过快速排序算法对物品按照单价从大到小排序,然后进行贪心选择。-Knapsack problem is a greedy algorithm with the optimal solution may be a typical problem. Knapsack problem with the nature of the optimal sub-structure, first of all, quick sort a
abcd
- 快速排序与交换排序算法比较 在Visual C++中建立一个单文档Windows应用程序,并实现下述功能: 运用随机函数自动生成一定规模的测试数据 (10000个测试元素),并输出到文件中。 分别执行快速排序算法和交换排序算法对测试数据排序,并输出到不同的文件中。 使用较为精确的QueryPerformanceCounter和QueryPerformanceFrequency等函数记录算法耗时,精确到毫秒,以便更好地进行算法耗时比较。 分析两种不同算法,有针对性地设计与调整测
QuickSort
- 快速排序算法,实现了快速排序,与归并排序算法进行对比(Quick Sort algorithm)
lab1
- 共享存储编程实验,用OpenMP实现并行的枚举排序算法和快速排序算法并与其串行算法进行比较(OpenMP parallel QuickSort)
Quickp
- LINUX系统下的快速排序算法的MPI实现(MPI implementation of fast sorting algorithm)
第四次--排序算法
- 堆排序的简单算法和应用 对半插入排序的简单算法和应用 快速排序的简单算法和应用(Simple algorithm and application of heap sequencing Simple algorithm and application of half insertion sort Simple algorithm and application of fast sorting)
内部排序比较
- 比较几种内部排序算法的效率,排序算法有插入排序、希尔排序、冒泡排序、快速排序、选择排序。(Comparing the efficiency of several internal sorting algorithms, the efficiency of several internal sorting algorithms is compared. The sorting algorithms include the insertion sort, the Hill sort, the bub
SimpleTestPaiXu
- 快速排序算法,选取一个中间值,小于中间值放左边,大于中间值的放右边(quick_sort:Select an intermediate value, less than the middle value to the left, greater than the median value to the right)
Desktop
- 快速排序算法,数据结构中的一种排序算法,快速排序算法(Fast sorting algorithm)
快速排序Python
- 快速排序算法的Python实现,最下方是例子,直接运行即可看到原始数组和排序后数组