Optimal parallel algorithms for multiselection on mesh-connected computers

被引:2
作者
Shen, H [1 ]
Han, YJ
Pan, Y
Evans, DJ
机构
[1] Japan Adv Inst Sci & Technol, Grad Sch Informat Sci, Tatsunokuchi, Ishikawa 9231292, Japan
[2] Univ Missouri, Comp Sci & Telecommun Program, Kansas City, MO 64110 USA
[3] Georgia State Univ, Dept Comp Sci, Atlanta, GA 30303 USA
[4] Nottingham Trent Univ, Dept Comp, Nottingham NG1 4BU, England
关键词
computation time; mesh; multiselection; parallel algorithm; routing; selection;
D O I
10.1080/00207160304673
中图分类号
O29 [应用数学];
学科分类号
070104 ;
摘要
Multiselection is the problem of selecting multiple elements at specified ranks from a set of arbitrary elements. In this paper, we first present an efficient algorithm for single-element selection that runs in O(rootp +(n/p) \log p \log (kp/n)) time for selecting the k th smallest element from n elements on a rootp x rootp mesh-connected computer of p less than or equal to n processors, where the first component is for communication and second is for computation (data comparisons). Our algorithm is more computationally efficient than the existing result when p greater than or equal to n(1/2 + epsilon) for any 0 < epsilon < 1/2 . Combining our result for p = Omega(rootn) with the existing result for p = O(rootn) yields an improved computation time complexity for the selection problem on mesh t(comp)(sel) = O(min{(n/p) log p log (kp/n),\ (n/p + p) \log(n/p)\}) . Using this algorithm as a building block, we then present two efficient parallel algorithms for multiselection on the mesh-connected computers. For selecting r elements from a set of n elements on a rootp x rootp mesh, p, r less than or equal to n , our first algorithm runs in time O(p(1/2) + t(comp)(sel) min {r log r, log p}) with processors operating in the SIMD mode, which is time-optimal when p less than or equal to r . Allowing processors to operate in the MIMD mode, our second algorithm runs in O(p(1/2) + t(comp)(sel) log r) time and is time-optimal for any r and p .
引用
收藏
页码:165 / 179
页数:15
相关论文
共 25 条
  • [1] AKI SG, 1984, INFORMATION PROCESSI, V19
  • [2] Batcher Kenneth E., 1968, P AFIPS SPRING JOINT, P307, DOI [10.1145/ 1468075.1468121, DOI 10.1145/1468075.1468121]
  • [3] Blum M., 1973, Journal of Computer and System Sciences, V7, P448, DOI 10.1016/S0022-0000(73)80033-9
  • [4] CHAUDHURI S, 1993, P MATH FDN COMP SCI
  • [5] CHEN GL, 1987, COMPUTER STUDIES DEV, V24, P1
  • [6] CHEN GL, 1987, P 2 INT C COMP APPL, P176
  • [7] A PARALLEL MEDIAN ALGORITHM
    COLE, R
    YAP, CK
    [J]. INFORMATION PROCESSING LETTERS, 1985, 20 (03) : 137 - 139
  • [8] AN OPTIMALLY EFFICIENT SELECTION ALGORITHM
    COLE, RJ
    [J]. INFORMATION PROCESSING LETTERS, 1988, 26 (06) : 295 - 299
  • [9] FREDMAN ML, 1987, J COMPUT SYST SCI, V35, P269, DOI 10.1016/0022-0000(87)90016-X
  • [10] COUNTING APPROACH TO LOWER BOUNDS FOR SELECTION PROBLEMS
    FUSSENEGGER, F
    GABOW, HN
    [J]. JOURNAL OF THE ACM, 1979, 26 (02) : 227 - 238