Parallel algorithms for red-black trees

被引:17
作者
Park, H [1 ]
Park, K [1 ]
机构
[1] Seoul Natl Univ, Dept Comp Engn, Seoul 151742, South Korea
关键词
red-black trees; balanced search trees; parallel algorithms; dictionary operations;
D O I
10.1016/S0304-3975(00)00287-5
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We present parallel algorithms for the following four operations on red-black trees: construction, search, insertion, and deletion. Our parallel algorithm for constructing a red-black tree from a sorted list of n items runs in O(1) time with n processors on the CRCW PRAM and runs in O(loglogn) time with n/loglogn processors on the EREW PRAM. Our construction algorithm does not require the assumptions that previous construction algorithms used. Each of our parallel algorithms for search, insertion, and deletion in red-black trees runs in O(logn + logk) time with k processors on the EREW PRAM, where k is the number of unsorted items to search for, insert, or delete and n is the number of nodes in a red-black tree. (C) 2001 Elsevier Science B.V. All rights reserved.
引用
收藏
页码:415 / 435
页数:21
相关论文
共 10 条
[1]  
Bayer R., 1972, Acta Informatica, V1, P290, DOI 10.1007/BF00289509
[2]   PARALLEL MERGE SORT [J].
COLE, R .
SIAM JOURNAL ON COMPUTING, 1988, 17 (04) :770-785
[3]   UPPER AND LOWER TIME-BOUNDS FOR PARALLEL RANDOM-ACCESS MACHINES WITHOUT SIMULTANEOUS WRITES [J].
COOK, S ;
DWORK, C ;
REISCHUK, R .
SIAM JOURNAL ON COMPUTING, 1986, 15 (01) :87-97
[4]   RELATIONS BETWEEN CONCURRENT-WRITE MODELS OF PARALLEL COMPUTATION [J].
FICH, FE ;
RAGDE, P ;
WIGDERSON, A .
SIAM JOURNAL ON COMPUTING, 1988, 17 (03) :606-627
[5]  
Guibas Leonidas J., 1978, P 19 ANN S FDN COMP, P8, DOI DOI 10.1109/SFCS.1978.3
[6]   A MAXIMALLY PARALLEL BALANCING ALGORITHM FOR OBTAINING COMPLETE BALANCED BINARY-TREES [J].
MOITRA, A ;
IYENGAR, SS .
IEEE TRANSACTIONS ON COMPUTERS, 1985, 34 (06) :563-565
[7]   DERIVATION OF A PARALLEL ALGORITHM FOR BALANCING BINARY-TREES [J].
MOITRA, A ;
IYENGAR, SS .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1986, 12 (03) :442-449
[8]  
PAUL W, 1983, LECT NOTES COMPUT SC, V154, P597
[9]   UPDATING A BALANCED SEARCH TREE IN O(1) ROTATIONS [J].
TARJAN, RE .
INFORMATION PROCESSING LETTERS, 1983, 16 (05) :253-257
[10]   COST-OPTIMAL PARALLEL ALGORITHMS FOR CONSTRUCTING 2-3 TREES [J].
WANG, BF ;
CHEN, GH .
JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 1991, 11 (03) :257-261