首页> 外文会议>International Conference on Frontiers of Intelligent Computing : Theory and Applications >Optimized Heap Sort Technique (OHS) to Enhance the Performance of the Heap Sort by Using Two-Swap Method
【24h】

Optimized Heap Sort Technique (OHS) to Enhance the Performance of the Heap Sort by Using Two-Swap Method

机译:优化的堆排序技术(OHS)通过使用双交换方法来增强堆的性能

获取原文

摘要

In the field of computer science and mathematics, Sorting is arranging elements in a certain order, there are many sorting techniques are existing such as Bubble sort, Heap sort, Merge sort, Insertion sort etc. In this paper we are concentrating on heap sort, heap sort works by first organizing the data to be sorted into a special type of binary tree called a heap. The heap itself has, by definition the largest value or the smallest value at the top of the tree based on max heap or min heap. Heap sort method sorts a single element at a time. In the existing heap sort method for every construction of heap only a single root element will be sorted, so it slowdowns the performance of heap sort technique. In order to optimize the performance of heap sort we are proposing the optimized heap sort technique (OHS) by using Two-swap method. The Two-swap method sorts two-elements at a time for each heap construction, and it reduces 30-50% of the time complexity of heap sort in the construction of heap as well as in sorting of array elements.
机译:在计算机科学和数学领域,排序是在一定的顺序排列元素,存在许多排序技术,如泡沫排序,堆排序,合并排序,插入排序等。在本文中,我们专注于堆排序,堆排序首先将要排序的数据组织成一个特殊类型的二叉树,称为堆。堆本身通过定义基于MAX堆或最小堆的树顶部的最大值或最小值。堆排序方法一次对单个元素进行排序。在现有的堆排序方法中,只有堆的每个构造,只会对单个根元素进行排序,因此它会减速堆排序技术的性能。为了优化堆排序的性能,我们通过使用双交换方法提出优化的堆排序技术(OHS)。双交换方法一次为每个堆构造进行两种元素,并且降低了堆的堆积中的30-50%的时间复杂性以及数组元素的排序。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号