PARALLEL MULTIPLE SEARCH

被引:2
作者
WEN, ZF
机构
[1] Department of Computer Science, Old Dominion University, Norfolk
关键词
BINARY SEARCH; DESIGN OF ALGORITHMS; MERGING; PARALLEL ALGORITHMS; SEARCHING; PRAM;
D O I
10.1016/0020-0190(91)90185-K
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Two sequences of items sorted in increasing order are given: a sequence A of size n and a sequence B of size m. It is required to determine, for every item of A, the smallest item of B (if one exists) that is larger than it. In this paper, we present two algorithms for the problem. The first algorithm requires O(log M+ log n) time using n processors in an EREW PRAM. On an EREW PRAM with p (p less-than-or-equal-to min {m, n}) processors, the second algorithm runs in O(log n + n / p) time when m less-than-or-equal-to n, or in O(log m + (n /p)log(2m / n) time when m > n. The second algorithm is optimal.
引用
收藏
页码:181 / 186
页数:6
相关论文
共 8 条
[1]   Parallel binary search [J].
Akl, Selim G. ;
Meijer, Henk .
IEEE Transactions on Parallel and Distributed Systems, 1990, 1 (02) :247-250
[2]  
Akl S. G., 1989, DESIGN ANAL PARALLEL
[3]   PARALLEL APPROXIMATION ALGORITHMS FOR BIN PACKING [J].
ANDERSON, RJ ;
MAYR, EW ;
WARMUTH, MK .
INFORMATION AND COMPUTATION, 1989, 82 (03) :262-277
[4]   PARALLEL MERGE SORT [J].
COLE, R .
SIAM JOURNAL ON COMPUTING, 1988, 17 (04) :770-785
[5]  
COLE R, 1986, 27TH P ANN S F COMP, P487
[6]   OPTIMAL MERGING AND SORTING ON THE EREW PRAM [J].
HAGERUP, T ;
RUB, C .
INFORMATION PROCESSING LETTERS, 1989, 33 (04) :181-185
[7]  
Hwang F. K., 1972, SIAM J COMPUT, V1, P31, DOI 10.1137/0201004
[8]  
[No title captured]