Optimal parallel weighted multiselection

被引:0
作者
Shen, H [1 ]
机构
[1] Japan Adv Inst Sci & Technol, Grad Sch Informat Sci, Tatsunokuchi, Ishikawa 9231292, Japan
来源
2002 IEEE REGION 10 CONFERENCE ON COMPUTERS, COMMUNICATIONS, CONTROL AND POWER ENGINEERING, VOLS I-III, PROCEEDINGS | 2002年
关键词
EREW PRAM; multiselection; parallel algorithm; selection; weight selection; sorting;
D O I
10.1109/TENCON.2002.1181279
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Weighted multiselection requires to select r elements from a given set of a elements, each associated with a weight such that each element selected is on a pre-specifed weighted-rank, where an element is on weighted-rank k if it is the smallest element such that the aggregated weight of all elements not greater than it in the set is not smaller than k. This paper presents efficient algorithms for solving this problem both sequentially and in parallel on EREW PRAM. Our sequential algorithm solves this problem in time O(n log r) which is optimal. Our parallel algorithm runs in O(T-1 log r) time on an EREW PRAM with 1 < p less than or equal to n processors, and is optimal with respect to T-1 which is the time complexity for single-element weighted selection using p processors.We give a parallel algorithm for single-element weighted selection using p EREW processors which runs cost-optimally in O(n/p) time for 1 < p less than or equal to n log log n/log n,' and time-optimally in O(log n/log log n) time for n log log n/log n < p < n.
引用
收藏
页码:323 / 326
页数:4
相关论文
共 25 条
[1]  
AKL SG, 1984, INFORMATION PROCESSI, V19
[2]  
Beame Paul, 1987, P 19 ANN ACM S THEOR, P83
[3]  
Blum M., 1973, Journal of Computer and System Sciences, V7, P448, DOI 10.1016/S0022-0000(73)80033-9
[4]   PARALLEL EVALUATION OF GENERAL ARITHMETIC EXPRESSIONS [J].
BRENT, RP .
JOURNAL OF THE ACM, 1974, 21 (02) :201-206
[5]  
CHAUDHURI S, 1993, P MATH FDN COMP SCI
[6]  
CHEN GL, 1987, P 2 INT C COMP APPL, P176
[7]   A PARALLEL MEDIAN ALGORITHM [J].
COLE, R ;
YAP, CK .
INFORMATION PROCESSING LETTERS, 1985, 20 (03) :137-139
[8]   AN OPTIMALLY EFFICIENT SELECTION ALGORITHM [J].
COLE, RJ .
INFORMATION PROCESSING LETTERS, 1988, 26 (06) :295-299
[9]  
FREDMAN ML, 1987, J COMPUTER SYSTEM SC, P269
[10]  
FUSSENEGGER F, 1979, J ASSOC COMPUT MACH, V26, P540