Parallel algorithms for partitioning sorted sets and related problems

被引:1
作者
Chen, DZ [1 ]
Chen, W
Wada, K
Kawaguchi, K
机构
[1] Univ Notre Dame, Dept Comp Sci & Engn, Notre Dame, IN 46556 USA
[2] Nagoya Inst Technol, Dept Elect & Comp Engn, Nagoya, Aichi 466, Japan
关键词
algorithms; EREW PRAM; merging; multiselection; partitioning; sorting; parallel computing;
D O I
10.1007/s004530010037
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We consider the following partition problem: Given a set S of n elements that is organized as k sorted subsets of size n/k each and given a parameter h with 1/k less than or equal to h less than or equal to n/k, partition S into g = O(n/(hk)) subsets D-1, D-2,..., D-g of size Theta(hk) each, such that, for any two indices i and j with 1 less than or equal to i less than or equal to j less than or equal to g, no element in D-i is bigger than any element in D-j. Note that with various combinations of the values of parameters h and k, several fundamental problems, such as merging, sorting, and finding an approximate median, can be formulated as or be reduced to this partition problem. The partition problem also finds many applications in solving problems of parallel computing and computational geometry. In this paper we present efficient parallel algorithms for solving the partition problem and a number of its applications. Our parallel partition algorithm runs in O(log n) time using [GRAPHICS] processors in the EREW PRAM model. The complexity bounds of our parallel partition algorithm on the respective special cases match those of the optimal EREW PRAM algorithms for merging, sorting, and finding an approximate median. Using our parallel partition algorithm, we are also able to obtain better complexity bounds (even possibly on a weaker parallel model) than the previously best known parallel algorithms for several important problems, including parallel multiselection, parallel multiranking, and parallel sorting of k sorted subsets.
引用
收藏
页码:217 / 241
页数:25
相关论文
共 29 条
[1]   SORTING IN C LOG N PARALLEL STEPS [J].
AJTAI, M ;
KOMLOS, J ;
SZEMEREDI, E .
COMBINATORICA, 1983, 3 (01) :1-19
[2]   CASCADING DIVIDE-AND-CONQUER - A TECHNIQUE FOR DESIGNING PARALLEL ALGORITHMS [J].
ATALLAH, MJ ;
COLE, R ;
GOODRICH, MT .
SIAM JOURNAL ON COMPUTING, 1989, 18 (03) :499-532
[3]   ADAPTIVE BITONIC SORTING - AN OPTIMAL PARALLEL ALGORITHM FOR SHARED-MEMORY MACHINES [J].
BILARDI, G ;
NICOLAU, A .
SIAM JOURNAL ON COMPUTING, 1989, 18 (02) :216-228
[4]  
Blum M., 1973, Journal of Computer and System Sciences, V7, P448, DOI 10.1016/S0022-0000(73)80033-9
[5]   PARALLEL EVALUATION OF GENERAL ARITHMETIC EXPRESSIONS [J].
BRENT, RP .
JOURNAL OF THE ACM, 1974, 21 (02) :201-206
[6]   EFFICIENT PARALLEL BINARY SEARCH ON SORTED ARRAYS, WITH APPLICATIONS [J].
CHEN, DZ .
IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 1995, 6 (04) :440-445
[7]   Finding the convex hull of discs in parallel [J].
Chen, W ;
Wada, K ;
Kawaguchi, K ;
Chen, DZ .
INTERNATIONAL JOURNAL OF COMPUTATIONAL GEOMETRY & APPLICATIONS, 1998, 8 (03) :305-319
[8]   Sheer effect on the devolatilization of filled polymers [J].
Cheng, JY ;
Bigio, DI ;
Briber, RM .
JOURNAL OF VINYL & ADDITIVE TECHNOLOGY, 1998, 4 (01) :45-49
[9]   PARALLEL MERGE SORT [J].
COLE, R .
SIAM JOURNAL ON COMPUTING, 1988, 17 (04) :770-785
[10]  
Cole R., 1986, P 18 ANN S THEOR COM, P206, DOI [10.1145/12130.12151, DOI 10.1145/12130.12151]