文件名称:Heapsort
-
所属分类:
- 标签属性:
- 上传时间:2015-12-08
-
文件大小:3.81mb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
堆排序是指利用堆这种数据结构所设计的一种排序算法,它是选择排序的一种。可以利用数组的特点快速定位指定索引的元素。堆分为大根堆和小根堆,是完全二叉树。大根堆的要求是每个节点的值都不大于其父节点的值,即A[PARENT[i]] >= A[i]。在数组的非降序排序中,需要使用的就是大根堆,因为根据大根堆的要求可知,最大的值一定在堆顶。-Heapsort refers to a sorting algorithm data structure designed using the heap, it is a sort of choice. You can use an array of features to quickly locate the specified index element. Heap into large and small root root heap heap is a complete binary tree. Requires large root heap is the value of each node is not greater than the value of the parent node, i.e., A [PARENT [i]] >= A [i]. In an array of non-descending order, we need to use is the large root heap, because according to the requirements of large root heap shows that the maximum value must be in the top of the heap.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Heapsort/
Heapsort/.vs/
Heapsort/.vs/Heapsort/
Heapsort/.vs/Heapsort/v14/
Heapsort/.vs/Heapsort/v14/.suo
Heapsort/Debug/
Heapsort/Debug/Heapsort.exe
Heapsort/Debug/Heapsort.ilk
Heapsort/Debug/Heapsort.log
Heapsort/Debug/Heapsort.obj
Heapsort/Debug/Heapsort.pdb
Heapsort/Debug/Heapsort.tlog/
Heapsort/Debug/Heapsort.tlog/CL.command.1.tlog
Heapsort/Debug/Heapsort.tlog/CL.read.1.tlog
Heapsort/Debug/Heapsort.tlog/CL.write.1.tlog
Heapsort/Debug/Heapsort.tlog/Heapsort.lastbuildstate
Heapsort/Debug/Heapsort.tlog/link.command.1.tlog
Heapsort/Debug/Heapsort.tlog/link.read.1.tlog
Heapsort/Debug/Heapsort.tlog/link.write.1.tlog
Heapsort/Debug/vc140.idb
Heapsort/Debug/vc140.pdb
Heapsort/Heapsort.cpp
Heapsort/Heapsort.sdf
Heapsort/Heapsort.sln
Heapsort/Heapsort.vcxproj
Heapsort/Heapsort.vcxproj.filters
Heapsort/.vs/
Heapsort/.vs/Heapsort/
Heapsort/.vs/Heapsort/v14/
Heapsort/.vs/Heapsort/v14/.suo
Heapsort/Debug/
Heapsort/Debug/Heapsort.exe
Heapsort/Debug/Heapsort.ilk
Heapsort/Debug/Heapsort.log
Heapsort/Debug/Heapsort.obj
Heapsort/Debug/Heapsort.pdb
Heapsort/Debug/Heapsort.tlog/
Heapsort/Debug/Heapsort.tlog/CL.command.1.tlog
Heapsort/Debug/Heapsort.tlog/CL.read.1.tlog
Heapsort/Debug/Heapsort.tlog/CL.write.1.tlog
Heapsort/Debug/Heapsort.tlog/Heapsort.lastbuildstate
Heapsort/Debug/Heapsort.tlog/link.command.1.tlog
Heapsort/Debug/Heapsort.tlog/link.read.1.tlog
Heapsort/Debug/Heapsort.tlog/link.write.1.tlog
Heapsort/Debug/vc140.idb
Heapsort/Debug/vc140.pdb
Heapsort/Heapsort.cpp
Heapsort/Heapsort.sdf
Heapsort/Heapsort.sln
Heapsort/Heapsort.vcxproj
Heapsort/Heapsort.vcxproj.filters
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.