Parallel Two-Dimensional Quicksort Algorithm (PTSA)
Hamed Al Rjoub, Ahmad Odat & Abdullah Audat
Journal of Computer Science, Volume 4, Issue 1, pp. 66–71 · doi.org/10.3844/jcssp.2008.66.71
Abstract
In this research, a Parallel Two-Dimensional Sorting Algorithm (PTSA) is presented that has better performance than the classical Quicksort, to sort a data vector of size n = r (rows) × c(columns). PTSA algorithm divides the input vector into n/r sub-vectors, which represents tow-dimensional vector of Slave Processor Elements (VPE ), the maximum number of VPE for parallel sorting is equal to r×c, VPE just the read,and write operations. The number of Master Processors (MP) which do the sort operation is equal to c, The time needed for PTSA algorithm is reduced by θ (n/r log n/r) with respect to the time needed by Quicksort θ (n log n) to sort the same vector. Simulation results show that the efficiency of sorting using PTSA algorithm is increased and the complexity is reduced significantly compared with classical Quicksort.
Licence and reuse
Free to read. This article carries the publisher’s copyright, as printed on it: © 2008 Science Publications. It is free to read; ask us before reusing it.
How to reuse this articleResponses (0)
About this article
Rjoub, H. A., Odat, A. & Audat, A. (2008). Parallel Two-Dimensional Quicksort Algorithm (PTSA). Journal of Computer Science, 4(1), 66–71. https://doi.org/10.3844/jcssp.2008.66.71
- Licence
- © Science Publications
- Issue
- Volume 4, Issue 1
- Policies
- Editorial independenceUse of generative AIData availabilityAppeals and complaints
- Version
- Version of record
