DocumentCode :
3553919
Title :
Cost-optimal parallel algorithms for traversing trees
Author :
Das, Sajal K. ; Chen, Calvin C Y
Author_Institution :
Dept. of Comput. Sci., North Texas Univ., Denton, TX, USA
fYear :
1991
fDate :
7-10 Apr 1991
Firstpage :
474
Abstract :
The authors present cost-optimal parallel algorithms for depth-order (e.g., pre-, in-, and post-order) and level-order (e.g., breadth-first and breadth-depth) traversals of general trees with n nodes. Each of the algorithms requires O(n/p+log n) time using pn processors on the EREW (exclusive read, exclusive write) PRAM (parallel random access machine) model. The breadth-first and breadth-depth algorithms attain O(log n) time complexity and yet are cost-optimal for pn/log n processors. The proposed approach to the three depth-order traversals uses only a single characterization of the generic problem. The breadth-first tree-traversal algorithm utilizes a novel idea which converts this problem into a parentheses matching problem, while the breadth-depth algorithm is obtained by reducing the problem into a variety of (general) linked list ranking problems
Keywords :
computational complexity; parallel algorithms; trees (mathematics); EREW; PRAM; breadth-depth algorithms; breadth-first tree-traversal algorithm; cost-optimal parallel algorithms; depth-order traversals; level-order; list ranking problems; parentheses matching problem; time complexity; traversing trees; Algorithm design and analysis; Binary trees; Classification tree analysis; Computer science; Distributed computing; Parallel algorithms; Phase change random access memory;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Southeastcon '91., IEEE Proceedings of
Conference_Location :
Williamsburg, VA
Print_ISBN :
0-7803-0033-5
Type :
conf
DOI :
10.1109/SECON.1991.147799
Filename :
147799
Link To Document :
بازگشت