Parallel binary search

被引:5
|
作者
Akl, Selim G. [1 ]
Meijer, Henk [1 ]
机构
[1] Queen's Univ, Dep of Comput &, Inf Sci, Kingston, Ont, Can
关键词
Computer Systems Programming--Merging - Computer Systems; Digital--Multiprocessing;
D O I
10.1109/71.80139
中图分类号
学科分类号
摘要
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 0(n log m, which is O(m)) for n &le m/log m. It is shown how the solution obtained here leads to an improved parallel merging algorithm.
引用
收藏
页码:247 / 250
相关论文
共 50 条
  • [31] DYNAMIC BINARY SEARCH
    MEHLHORN, K
    SIAM JOURNAL ON COMPUTING, 1979, 8 (02) : 175 - 198
  • [32] GENERALIZATION OF BINARY SEARCH
    LEIPALA, T
    INFORMATION PROCESSING LETTERS, 1979, 8 (05) : 230 - 233
  • [33] BINARY SEARCH ALGORITHM
    DAVIS, CH
    AMERICAN DOCUMENTATION, 1969, 20 (02): : 167 - 167
  • [34] Binary quantum search
    Korepina, Vladimir E.
    Xu, Ying
    QUANTUM INFORMATION AND COMPUTATION V, 2007, 6573
  • [35] Binary search algorithm
    Tarek, Ahmed
    RECENT ADVANCES ON APPLIED MATHEMATICS: PROCEEDINGS OF THE AMERICAN CONFERENCE ON APPLIED MATHEMATICS (MATH '08), 2008, : 104 - +
  • [36] Generalized Binary Search
    Nowak, Robert
    2008 46TH ANNUAL ALLERTON CONFERENCE ON COMMUNICATION, CONTROL, AND COMPUTING, VOLS 1-3, 2008, : 568 - 574
  • [37] Random Binary Search Trees for approximate nearest neighbour search in binary space
    Komorowski, Michal
    Trzcinski, Tomasz
    APPLIED SOFT COMPUTING, 2019, 79 : 87 - 93
  • [38] Random Binary Search Trees for Approximate Nearest Neighbour Search in Binary Space
    Komorowski, Michal
    Trzcinski, Tomasz
    PATTERN RECOGNITION AND MACHINE INTELLIGENCE, PREMI 2017, 2017, 10597 : 473 - 479
  • [39] PN acquisition for DS/SS using a preloop parallel binary search phase estimator and a closed-loop selective search subsystem
    Delva, JGR
    Howitt, I
    IEEE TRANSACTIONS ON WIRELESS COMMUNICATIONS, 2004, 3 (02) : 408 - 417
  • [40] Embarrassingly Parallel Search
    Regin, Jean-Charles
    Rezgui, Mohamed
    Malapert, Arnaud
    PRINCIPLES AND PRACTICE OF CONSTRAINT PROGRAMMING, CP 2013, 2013, 8124 : 596 - 610