2008Journal of Computer ScienceOpen access

A Heapify Based Parallel Sorting Algorithm

Mwaffaq A. Abu Al hija, Arwa Zabian, Sami Qawasmeh, Omer H. Abu Al haija

Open full text 5 citations

Abstract

Quick sort is a sorting algorithm whose worst case running time is (n 2 ) on an input array of n numbers.It is the best practical for sorting because it has the advantage of sorting in place.Problem statement: Behavior of quick sort is complex, we proposed in-place 2m threads parallel heap sort algorithm which had advantage in sorting in place and had better performance than classical sequential quick sort in running time.Approach: The algorithm consisted of several stages, in first stage; it splits input data into two partitions, next stages it did the same partitioning for prior stage which had been spitted until 2 m partitions was reached equal to the number of available processors, finally it used heap sort to sort respectively ordered of non internally sorted partitions in parallel.Results: Results showed the speed of algorithm about double speed of classical Quick sort for a large input size.The number of comparisons needed was reduced significantly.Conclusion: In this study we had been proposed a sorting algorithm that uses less number of comparisons with respect to original quick sort that in turn requires less running time to sort the same input data.

Open-access reader

About this research paper

What this paper is about

Quick sort is a sorting algorithm whose worst case running time is (n 2 ) on an input array of n numbers.It is the best practical for sorting because it has the advantage of sorting in place.Problem statement: Behavior of quick sort is complex, we proposed in-place 2m threads parallel heap sort algorithm which had advantage in sorting in place and had better performance than classical sequential quick sort in running time.Approach: The algorithm consisted of several stages, in first stage; it splits input data into two partitions, next stages it did the same partitioning for prior stage which had been spitted until 2 m partitions was reached equal to the number of available processors, finally it used heap sort to sort respectively ordered of non internally sorted partitions in parallel.Results: Results showed the speed of algorithm about double speed of classical Quick sort for a large input size.The number of comparisons needed was reduced significantly.Conclusion: In this study we had been proposed a sorting algorithm that uses less number of comparisons with respect to original quick sort that in turn requires less running time to sort the same input data.

Why it matters

OpenAlex reports 5 citations for this work. Citation counts describe recorded attention and do not establish research quality.

Key contribution

A contribution statement is not available in the OpenAlex record.

Method / approach

Method details are not available in the OpenAlex metadata.

Main findings

Findings are not separately available in the OpenAlex metadata.

Limitations

Limitations are not available in the OpenAlex metadata.

Applications

Application details are not available in the OpenAlex metadata.

Available abstract

Quick sort is a sorting algorithm whose worst case running time is (n 2 ) on an input array of n numbers.It is the best practical for sorting because it has the advantage of sorting in place.Problem statement: Behavior of quick sort is complex, we proposed in-place 2m threads parallel heap sort algorithm which had advantage in sorting in place and had better performance than classical sequential quick sort in running time.Approach: The algorithm consisted of several stages, in first stage; it splits input data into two partitions, next stages it did the same partitioning for prior stage which had been spitted until 2 m partitions was reached equal to the number of available processors, finally it used heap sort to sort respectively ordered of non internally sorted partitions in parallel.Results: Results showed the speed of algorithm about double speed of classical Quick sort for a large input size.The number of comparisons needed was reduced significantly.Conclusion: In this study we had been proposed a sorting algorithm that uses less number of comparisons with respect to original quick sort that in turn requires less running time to sort the same input data.

Key concepts: Sorting algorithm, Computer science, sort, Algorithm, Sorting, Parallel computing, Heap (data structure), Merge sort

Related papers

Back to paper searchBrowse research topicsOriginal source
A Heapify Based Parallel Sorting Algorithm — Research Paper | ScholarLens