Title :
Parallel binary search
Author :
Akl, Selim G. ; Meijer, H.
Author_Institution :
Dept. of Comput. & Inf. Sci., Queen´´s Univ., Kingston, Ont., Canada
fDate :
4/1/1990 12:00:00 AM
Abstract :
Two arrays of numbers sorted in nondecreasing order are given: an array A of size n and an array B of size m, where n<m. It is required to determine, for every element of A, the smallest element of B (if one exists) that is larger than or equal to it. It is shown how to solve this problem on the EREW PRAM (exclusive-read exclusive-write parallel random-access machine) in O(logm logn/log log m) time using n processors. The solution is then extended to the case in which fewer than n processors are available. This yields an EREW PRAM algorithm for the problem whose cost is O(n log m, which is O(m)) for n⩽m/log m. It is shown how the solution obtained leads to an improved parallel merging algorithm
Keywords :
computational complexity; parallel algorithms; search problems; EREW PRAM; binary search; cost optimality; nondecreasing order; parallel merging algorithm; parallel random-access machine; Computational modeling; Concurrent computing; Costs; Councils; Merging; Parallel algorithms; Phase change random access memory; Read-write memory; Search problems; Writing;
Journal_Title :
Parallel and Distributed Systems, IEEE Transactions on